Get specific localization infor

Hi, guys!! I’m trying to get Json file with specific information of Spain,

url = “https://api.openchargemap.io/v3/poi
querystring = {“countryid”: “spain”, “key”: “****”}
headers = {“Content-Type”: “application/json”}
response = requests.request(“GET”, url, headers=headers, params=querystring)

But the response I get is a big Json with lot of countries and not filtered by Spain.

Thank you!

Hi, countryid is a number and you can find the respective ID from https://api.openchargemap.io/v3/referencedata?key=example

Spain is countryid 210 - if you feed it an invalid country id it will ignore the value.