Radionomy Board
It is currently Fri Nov 22, 2019 9:46 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: API Tracklist Script
PostPosted: Tue Jul 02, 2013 12:16 am 
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


This script is offered by a community member, remember to quote him in your thanks;). There may be updates proposed by the author in order to meet the standards imposed by Radionomy or for any other reason. We invite you to check this topic regularly.

Warning, it is impossible to foresee all the specific situations that may exist. It is your responsibility to check, prior to the use of these files, that you do not go into this type of case. Any change in the script is also from your responsibility if the change does not respect the required standards.

Updated 13/09/2011


Hello,

Here a script (by LeTopTop, translated by techlover) which will enable you to use API Tracklist while respecting the limitations of requests and the structure of requests imposed by Radionomy.

This system is easily installable on your site. Attention however with strictly respecting the parameters indicated.
This system can function only if you have hosting for your site (complete hosting) and if this one accepts PHP5.

Installation in 5 steps:

1/ Download the following file:
http://audiograted.com/radionomyapicachezipstore/tracklist.zip

2/ Decompress the file locally

3/ Open the file call_api.php and modify the lines at the top of the script with your personal information and set your personal options.

Code:
// Votre RadioUID
$radiouid = "copyyourraduiouidhere";
// Votre APIKey
$apikey = "copyyouraoikeyhere";


4/ Upload the cache_api.txt files and call_api.php in the folder of your choice on the hosting provider of your site.
For example, the folder “http://www.mysite.com/tracklist/”.

Then chmod the cache_api.txt file of them 644 (right click, “Properties")

5/ On the page of your site that needs the API, call “http://www.mysite.com/tracklist/call_api.php”. The result will be identical to what you would receive if you made a direct call of API (XML or String) but by respecting the restrictions imposed by Radionomy.

Let me know if you have any issues!

Best regards

[EDIT By SIR L Sept.13 08:30 AM new "safe" ZIP file ]
[EDIT By Jamie Welch Sept 14 2:45 AM redone translation of zip file]
[EDIT By Lily Sept 15 Noon - Link to original french script, to ensure that the updates are included.]
[EDIT By Jamie Welch Nov 4 12:17 AM - Link broken after move to new forum - external links hosted by Audiograted added]

(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