Radionomy Board
It is currently Sat Aug 15, 2020 8:19 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [PROPOSE] API new method
PostPosted: Sat May 09, 2015 1:54 pm 
Offline
User avatar

Joined: Sat May 09, 2015 12:15 pm
Posts: 9
Location: Morocco
Radio 1: https://radio.manganime.net
Radio 2: https://smarttv.pro/live:radio/
Hi!
Im propsing that you add a new method to the current API. the most important advantage of it is to reduce the number of api calls. and getting more useful info
and if possible adding json as type of answer (return)

Parameters (Global) :

radiouid = your radio UID
apikey = your personal API key is available in the Labs
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.

Parameters (Next tracks) :
namount = the number of next tracks you want to display (from 1 to 5) (default = 1)

Parameters (Previous tracks) :
pamount = the number of previous tracks you want to display (from 1 to 50) (default = 1)

Return/Result:
<nexttracks>
<track>
<title></title>
<artists></artists>
<dateofdiff></dateofdiff>
<playduration></playduration>
<cover></cover>
</track>
<track>
<title></title>
<artists></artists>
<dateofdiff></dateofdiff>
<playduration></playduration>
<cover></cover>
</track>
<nexttracks>

<previoustracks>
<track>
<title></title>
<artists></artists>
<dateofdiff></dateofdiff>
<playduration></playduration>
<cover></cover>
</track>
<track>
<title></title>
<artists></artists>
<dateofdiff></dateofdiff>
<playduration></playduration>
<cover></cover>
</track>
<track>
<title></title>
<artists></artists>
<dateofdiff></dateofdiff>
<playduration></playduration>
<cover></cover>
</track>
<previoustracks>


I hop that my description of the idea was clear enough.
Thanks! for your time

_________________
Enjoy your time with us! MANGANIME Radio In the Air
MANGANIME Radio



Promote your station by adding it to the largest directory of stations
>> SmartTV.Pro <<


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: Bing [Bot], Deannacit and 19 guests


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