Radionomy Board
It is currently Mon Sep 23, 2019 9:41 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Mon Jul 01, 2013 11:57 pm 
Offline
Moderators
User avatar

Joined: Mon Jun 24, 2013 12:55 pm
Posts: 61
Location: Berlin, MD, USA
Radio 1: http://radionomy.com/en/radio/audiograted
Radio 2: Radionomy Producer since 2009
O.S: Windows 8
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)

_________________
Jamie Welch
Global Moderator

Need support? I do not respond to unsolicited private messages. Please post all support requests in the technical support forum.

Don't forget to completely fill your profile to improve the support!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Forum locked 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:  
Powered by phpBB® Forum Software © phpBB Group