Inicio » Support » RadioBOSS Cloud » API » API: info

API: info

Volver a la referencia API

Recupera información de la emisora de radio: título de la pista que se está reproduciendo, número de oyentes, enlaces de sintonización, pistas reproducidas recientemente.

Solicitar

GET /api/info/StationID?key=APIKey

Ejemplo de solicitud

https://c1.radioboss.fm/api/info/92?key=A1B2C3

Ejemplo de datos devueltos (JSON)

{
   "autodj_title":"Nirvana - Pennyroyal Tea",
   "autodj":true,
   "live":false,
   "nowplaying":"Nirvana - Pennyroyal Tea",
   "playback":{
      "pos":90222,
      "len":200137,
      "state":"play"
   },
   "currenttrack_info":{
      "@attributes":{
         "ARTIST":"Nirvana",
         "TITLE":"Pennyroyal Tea",
         "ALBUM":"MTV Unplugged in New York",
         "YEAR":"1994",
         "GENRE":"Alternative",
         "COMMENT":"",
         "FILENAME":"~files\\Rock\\05 Pennyroyal Tea.mp3",
         "DURATION":"03:20",
         "PLAYCOUNT":"1888",
         "LASTPLAYED":"2023-07-31 12:25:18",
         "INTRO":"0.00",
         "OUTRO":"0.00",
         "LANGUAGE":"",
         "RATING":"0",
         "BPM":"",
         "TAGS":"",
         "F1":"",
         "F2":"",
         "F3":"",
         "F4":"",
         "F5":"",
         "CASTTITLE":"Nirvana - Pennyroyal Tea",
         "LISTENERS":"0",
         "ITEMTITLE":"Nirvana - Pennyroyal Tea"
      }
   },
   "nexttrack":"The Prodigy - Timebomb Zone",
   "nexttrack_info":{
      "@attributes":{
         "ARTIST":"The Prodigy",
         "TITLE":"Timebomb Zone",
         "ALBUM":"",
         "YEAR":"",
         "GENRE":"",
         "COMMENT":"",
         "FILENAME":"~files\\Rock\\1545735572_the-prodigy-timebomb-zone.mp3",
         "DURATION":"03:24",
         "PLAYCOUNT":"1960",
         "LASTPLAYED":"2023-07-30 21:51:46",
         "INTRO":"0.00",
         "OUTRO":"0.00",
         "LANGUAGE":"",
         "RATING":"0",
         "BPM":"",
         "TAGS":"",
         "F1":"",
         "F2":"",
         "F3":"",
         "F4":"",
         "F5":"",
         "CASTTITLE":"The Prodigy - Timebomb Zone",
         "ITEMTITLE":"The Prodigy - Timebomb Zone"
      }
   },
   "prevtrack_info":{
      "@attributes":{
         "ARTIST":"Black Sabbath",
         "TITLE":"Loner",
         "ALBUM":"13",
         "YEAR":"2013",
         "GENRE":"Rock",
         "COMMENT":"",
         "FILENAME":"~files\\Rock\\Loner.mp3",
         "DURATION":"04:59",
         "PLAYCOUNT":"1963",
         "LASTPLAYED":"2023-07-31 12:20:22",
         "INTRO":"0.00",
         "OUTRO":"0.00",
         "LANGUAGE":"",
         "RATING":"0",
         "BPM":"",
         "TAGS":"",
         "F1":"",
         "F2":"",
         "F3":"",
         "F4":"",
         "F5":"",
         "CASTTITLE":"Black Sabbath - Loner",
         "ITEMTITLE":"Black Sabbath - Loner"
      }
   },
   "listeners":0,
   "links":{
      "m3u":"http://c9.radioboss.fm/playlist/54/stream.m3u",
      "m3u_ssl":"https://c9.radioboss.fm/playlist/54/stream.m3u",
      "pls_uri":"c9.radioboss.fm/playlist/54/stream.pls",
      "http":"http://c9.radioboss.fm:8054/stream",
      "ssl":"https://c9.radioboss.fm:8054/stream",
      "port80":"http://c9.radioboss.fm/stream/54",
      "port443":"https://c9.radioboss.fm/stream/54",
      "page":"https://c9.radioboss.fm/u/54",
      "artwork":"https://c9.radioboss.fm/w/artwork/54.jpg",
      "artwork_next":"https://c9.radioboss.fm/w/artwork_next/54.jpg",
      "artwork_recent":"https://c9.radioboss.fm/w/artwork_recent_ARTID/54.jpg",
      "stationlogo":"https://c9.radioboss.fm/stationlogo/54.png",
      "mounts":[
         
      ],
      "api":"https://c9.radioboss.fm/"
   },
   "recent":[
      {
         "title":"Nirvana - Pennyroyal Tea",
         "tracktitle":"Pennyroyal Tea",
         "trackartist":"Nirvana",
         "started":"2023-07-31 12:25:18",
         "artworkid":"6749"
      },
      {
         "title":"Black Sabbath - Loner",
         "tracktitle":"Loner",
         "trackartist":"Black Sabbath",
         "started":"2023-07-31 12:20:22",
         "artworkid":"6748"
      }
   ]
}