Skip to content

Room playlist history #31

@FranciscoG

Description

@FranciscoG

Was wondering if you could add fetching Room playlist history with the option of choosing how many pages of history (with max limit of course)

This is the API endpoint for retrieving Room history
https://api.dubtrack.fm/room/%RID%/playlist/history?page=##

Each page returns an array of 20 length

It would be cool if I could so something like this:

bot.getRoomHistory(5, callback); // because it would be very very async of course

and that would return 5 pages of history, so an array of 100 length.

14 pages of history is about ~24 hours of playlist history in a room where everyone is playing average 3-6min songs. (array length of 280)

not super important, just something that would be nice

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions