Google Countries Finder
Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.
Search the list of Google-supported countries by name or country code to use in Google Search API requests.
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringFilters countries based on a search string. The search is non-case-sensitive and returns all countries whose names contain the specified string.
Example:
frfields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
[index: integer]?curl -X GET 'https://api.piloterr.com/v2/finder/google-countries?query=string'[
{
"country_code": "fr",
"country_name": "France"
},
{
"country_code": "gf",
"country_name": "French Guiana"
},
{
"country_code": "pf",
"country_name": "French Polynesia"
},
{
"country_code": "tf",
"country_name": "French Southern Territories"
}
]