Jamendo Api Documentation
GET /v3.0/playlists/file
Description
The 'file' method represent an exception to the norm. Instead of returning a document object, here we http-redirect to the requested file url, in order to let your application download a certain resource. Note that here we don't inherit parent params declarations as usual, and that a not valid request will trigger an http error (404 or 500)
Required parameters
client_id && id
Parameter List
Name | Type | Description |
---|---|---|
client_id | string | A Client Id provided by devportal.jamendo.com. |
audioformat | enum: {mp3} | The audio format you wish to use on the fileurl returned field. At the moment mp32 (mp3 192kbps) is the only existing format. |
id | integer | Applying a redirection this method accepts and needs only one album id |
Sample
Call:
https://api.jamendo.com/v3.0/playlists/file/?client_id=your_client_id&id=1
Response:
(If the request is successfull you should be redirected to the requested file, but if the resource doesn't exists a 404 http error with an corresponding error message will be notified in the header. In case of malformed requests, you would receive an http code 500 with relative error information