Add support for API endpoint for searching: https://pro.mapy.cz/search
Similarly to other endpoints, this can be altered to request and return data in XML by adjusting HTTP headers content-type: text/xml and accept: application/json instead of application/x-base64-frpc respectively.
So far in private paid BETA access without any free access at all.
Backward compatibility
Endpoints using URL https://api.mapy.cz/ is now not working or working differently. As of 2023-06 it seems, that new unofficial endpoint is https://api.mapy.cz/v0/ requiring API key as HTTP header X-Mapy-Api-Key.
Hi,
I am getting this fatal error even if I updated my curl and dlownlaoded the latest cacert.pem file and set the php.ini. I am using php-8.2.7
openssl.cafile= "βͺC:/php-8.2.7/cacert.pem"
curl.cainfo = "βͺC:/php-8.2.7/cacert.pem"
C:\Users\cervenka\mapycz-api\examples>php loadPoi.php
PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate file: βͺC:/php-8.2.7/cacert.pem (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://pro.mapy.cz/poiagg in C:\Users\cervenka\mapycz-api\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:211
Stack trace: