Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 896 Bytes

playlists.md

File metadata and controls

23 lines (13 loc) · 896 Bytes

Playlist API methods

api/v1/playlist/get - get a list of popular playlists.

Params:

  • page (optional) - allows you to paginate by search results from the site. There are 52 playlists on each page. Default value: 1 (first page).
    If page number is greater than count of playlist pages on the site, the last page will be returned.

Request example:
(your host)/api/v1/playlist/get - returns 1st page from playlists list. (your host)/api/v1/playlist/get?page=3 - returns 3rd page.

api/v1/playlist/download - download a playlist. To find playlists, this method uses playlist/get method.

Params:

  • playlist_id (required) - download a playlist with specific number in the list.
  • page (optional) - same as in playlist/get.

Request example: (your host)/api/v1/playlist/download?album_id=14 - download 14th album from 1st page from the site.