Radionomy Board
It is currently Sun Dec 06, 2020 1:41 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [Técnico] Tracklist API
PostPosted: Fri Sep 13, 2013 5:55 pm 
Offline
Moderators

Joined: Mon Jun 24, 2013 12:49 pm
Posts: 42
Location: Madrid
Radio 1: http://www.postawayradio.com
Radio 2: https://www.otakumusicradio.com
O.S: Windows 10
La API "Tracklist" le permite obtener la lista de las últimas 50 canciones que sonaron en su emisora.

La API está disponible en esta dirección:
http://api.radionomy.com/tracklist.cfm

Restricción de consulta : 5 minutos

Parámetros :

radiouid = la UID de su emisora
apikey = su API key está disponible en el Labs
amount = el número de pistas que quiere mostrar (de 1 a 50) (por defecto = 1)
type = XML o string (por defecto = string)
cover = YES o NO (defecto = NO) (sólo disponible si type = XML). Le permite obtener la "imagen" del álbum de la canción.

Ejemplo de consulta :

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


Ejemplo de respuesta

Code:
<tracks>
<track></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>



Esquema de consulta :

Image

_________________
Moderador en Radionomy - Si necesitas ayuda, ¡No dudes a recurrir al foro!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 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