API

, 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

 
ֲ
Cardinal Birds:       -  !
'
Cardinal Birds: - !
26.12.2018

г , . , - .. ,

 feat   -      ⳻
feat - ⳻
19.04.2019

糿 - ˲ ⳻ -