Hello, I want to print some data from a JSON page in PHP, for example:
I have this page here link
JSON:
{
"totalstreams": 1,
"activestreams": 1,
"currentlisteners": 19,
"peaklisteners": 57,
"maxlisteners": 500,
"uniquelisteners": 18,
"averagetime": 881,
"version": "2.2.1.109 (posix(linux x64))",
"streams": [{
"id": 1,
"currentlisteners": 19,
"peaklisteners": 57,
"maxlisteners": 500,
"uniquelisteners": 18,
"averagetime": 881,
"servergenre": "� s� granada na cara da concorrencia",
"serverurl": "http:\/\/www.habbonados.com.br",
"servertitle": "gabrielsa441",
"songtitle": "Wiz Khalifa - See You Again ft. Charlie Puth [Official Video] Furious 7 Soundtrack",
"irc": "https:\/\/www.habbo.com.br\/hotel?room=81601237",
"icq": "NA",
"aim": "NA",
"streamhits": 2493,
"streamstatus": 1,
"backupstatus": 0,
"streampath": "\/",
"streamuptime": 645,
"bitrate": 64,
"content": "audio\/aacp"
}]
}
I want to get this data out of it:
"uniquelisteners":10,
"averagetime":462,
"servergenre":"� s� granada na cara da concorrencia"
And move to a PHP page with echo