Jump to content

API Radionomy


Mister-Deezik

Recommended Posts

Voici un petit script PHP pour afficher le titre en cours sur votre Webradio (Radionomy) :


<?php
$xml = @ simplexml_load_file('http://api.radionomy.com/currentsong.cfm?radiouid=Votre radio UID&apikey=Votre API KEY&type=xml');
foreach ($xml as $track)
{
$artiste = $track->artists;
$titre = $track->title;
}
{
echo "$artiste - $titre";
}
?>

Link to comment
Share on other sites

Voici un petit script PHP pour afficher le titre en cours sur votre Webradio (Radionomy) :


<?php
$xml = @ simplexml_load_file('http://api.radionomy.com/currentsong.cfm?radiouid=Votre radio UID&apikey=Votre API KEY&type=xml');
foreach ($xml as $track)
{
$artiste = $track->artists;
$titre = $track->title;
}
{
echo "$artiste - $titre";
}
?>

Il ne faut certainement pas utiliser ce script. Tu vas te faire blacklister car tu ne respectes pas les CGU.

Vas te renseigner sur leur forum : http://board.radionomy.com/index.php?/topic/13639-api-script-pour-utiliser-lapi-currentsong/

Link to comment
Share on other sites

Il ne faut certainement pas utiliser ce script. Tu vas te faire blacklister car tu ne respectes pas les CGU.

Vas te renseigner sur leur forum : http://board.radionomy.com/index.php?/topic/13639-api-script-pour-utiliser-lapi-currentsong/

Pourquoi ? Ça ressemble pourtant aux scripts que letoptop (modo radionomy) propose sur sa page radionomy...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...