KLADR API. List in JSON format?

Good day,


Please show someone by example how to work with kladr API.


The problem is that experience with third party API does not have at all, and ajax only started to comprehend.

www.magora.ru/info/kladr
October 8th 19 at 00:12
2 answers
October 8th 19 at 00:14
For example, get a list of regions, it would be this:
$regions = file_get_contents('http://kladr.magora.ru/regions/100/0');

Or Kurla.
In the variable $regions would be obtained json.
But the links with the examples they have 404 for some reason.
Apparently, the guys magora.ru there are habré, try to get in touch about the 404, if you need it they are:
habrahabr.ru/post/114897/ - fredrick.Davis commented on October 8th 19 at 00:17
October 8th 19 at 00:16
Try the API dadata.ru – the response in JSON format returns detailed information at.

Find more questions by tags JSONAPIAJAXPHP