Radionomy - Board
https://board.radionomy.com/

[Technical] API Top Tracks
https://board.radionomy.com/viewtopic.php?f=28&t=128
Page 1 of 1

Author:  Jamie [ Mon Jul 01, 2013 11:57 pm ]
Post subject:  [Technical] API Top Tracks

The API "Top Tracks" allows you to display most played tracks on your radio station, for a specified period.

API is available at this URL :
http://api.radionomy.com/toptracks.cfm

Query limitation : 5 minutes

Parameters :

radiouid = your radio UID
apikey = your personal API key is available in the Labs
amount = number of tracks you want to display (from 1 to 50) (default = 1)
days= number of days to take in account (maximum 7)
type = XML or string (default = string)
cover = YES or NO (default = NO) (only available if type = XML). Allows you to get the track's picture URL.


Query example :

Code:
http://api.radionomy.com/toptracks.cfm?radiouid=xxx&apikey=xxx&amount=5&days=2&type=xml&cover=yes


Answer example

Code:
<tracks>
<track></track>
<position>1</position>
<title>Il Faut Quand Meme Bien Exister</title>
<artists>Atomique Deluxe</artists>
<cover>http://i.radionomy.com/RMimages/TR_CCD071F7-967C-5C66-47B8487457BAAC73.s150.jpg</cover>

<track></track>
<position>2</position>
<title>From Me To You</title>
<artists>Beatles</artists>
<cover>http://i.radionomy.com/RMimages/31.s150.jpg</cover>

<track></track>
<position>3</position>
<title>She Loves You</title>
<artists>Beatles</artists>
<cover>http://i.radionomy.com/RMimagesmm/TR_000181_3.s150.jpg</cover>

<track></track>
<position>4</position>
<title>I Feel Fine</title>
<artists>Beatles</artists>
<cover>http://i.radionomy.com/RMimages/31.s150.jpg</cover>

<track></track>
<position>5</position>
<title>Day Tripper</title>
<artists>Beatles</artists>
<cover>http://i.radionomy.com/RMimages/31.s150.jpg</cover>

</tracks>



Queries pattern :

Image

(Date Version: July 2013)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/