Radionomy Board
It is currently Tue Dec 10, 2019 6:49 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jun 24, 2013 12:07 pm 
Offline
Moderators
User avatar

Joined: Mon Jun 24, 2013 8:59 am
Posts: 410
Location: Sur le forum
Radio 1: http://www.radionomy.com/feevermix
O.S: Windows Seven 64 Bits
API TrackList


L'API "Tracklist" vous permet de retrouver les 50 derniers morceaux diffusés sur votre radio.

Elle est disponible à l'adresse :
http://api.radionomy.com/tracklist.cfm

Limites d'appel / mise en cache minimum : 5 minutes

Paramètres :

radiouid = UID de votre radio
apikey = votre clé API (Trouver ma clé API)
amount = le nombre de morceaux souhaités (de 1 à 50) (défaut = 1)
type = XML ou string (défaut = string)
cover = YES ou NO (défaut = NO) (uniquement valable si type = XML). Vous donne l'URL de la pochette du morceau.

Exemple de requête :

Code:
http://api.radionomy.com/tracklist.cfm?radiouid=xxx&apikey=xxx&amount=50&type=xml&cover=yes


Exemple de réponse

Code:
<tracks>
<track>
<title>The Seed (2.0)</title>
<artists>The Roots</artists>
<dateofdiff>2011-09-09 17:12:00.0</dateofdiff>
<playduration>232672</playduration>
<cover>http://i.radionomy.com/RMimages/1156.s150.jpg</cover>

</tracks>


Schéma des requêtes :
Attachment:
File comment: Schéma API
schema-apikey-570.png
schema-apikey-570.png [ 298.74 KiB | Viewed 9260 times ]

_________________
Avant toute questions, cliquez-ici ! | Voir la F.A.Q | Retrouvez vos messages
(Aucun support n'est fait par MP)


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group