API

29.05.2018 ·

, API- . 

:
1. (. )
2. JSON ( UTF8)
3.

PHP:
$url = 'https://rock.ua/api/afisha.php?date=8-6-2018'; //
$ch = curl_init(); // PHP CURL
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$contents = curl_exec($ch); //
curl_close($ch);
$arr = json_decode($contents); //

. :
https://rock.ua/api/afisha.php?date=DD-MM-YYYY&lang=LL

:
https://rock.ua/api/afisha.php?date=8-6-2018 //䳿 2018;
https://rock.ua/api/afisha.php?date=8-6-2018&lang=ru //䳿 2018;
https://rock.ua/api/afisha.php?club=_'_
https://rock.ua/api/afisha.php?band=_'_

, : info@rock.kiev.ua

ֲ
Alexis Machine:  ,
'
Alexis Machine: ,
23.08.2018

Alexis Machine , .

Power Of Ukraine vol.2
Power Of Ukraine vol.2
21.08.2018

Power Of Ukraine vol.2 . power metal -