The API has gotten a boost in functionality and may now send URLs of MP3 files or feeds to a tag/tag.
This new feature allows you to integrate your applications with MP3, podcast and webradio players. Now you can create application for your exceptionally talented rabbit with streaming audio !
How does it work ?
If you have a tag/tag, you can use the API to send him MP3 hyperlinks to make him play podcasts or webradio.
All you have to do is call or include your application in the URL http://api.nabaztag.com/vl/FR/api_stream.jsp with the following settings :
sn Serial number of the Nabaztag/tag that’s going to receive the URLs
token The token is a series of digits given when you activate Nabaztag’s reception of external events. This identification limits the risk of spam since you must know the serial number and the token to send a message.
urlList URL address of the MP3 file that you want your Nabaztag/tag to read.
If you wish to play several MP3 files in a row, you can can seperate them with this character « | ».
Example- play a webradio station :
http://api.nabaztag.com/vl/FR/api_stream.jsp?token=1267440739&sn=0013D380FD3C&urlList=http://213.205.96.91:9915
If the MP3 feed is available, your tag/tag will play it.
To play several mp3 streams, you must separate each URL with the character « | ».
http://api.nabaztag.com/vl/FR/api_stream.jsp?token=1267440739&sn=0013D380FD3C&urlList=http://monServer.org/archive/MP3/Creative.mp3|http://myServer.mp3.net/myFav_mp3.mp3