Piloterr

Google Languages Finder

GET
/v2/finder/google-languages

Search the list of Google-supported languages by name to retrieve language codes for use in Google Search API requests.

Autorização

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parâmetros de consulta

query*string

Filters languages based on a search string. The search is non-case-sensitive and returns all languages whose names contain the specified string.

Example:

french
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corpo da resposta

Successful response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.piloterr.com/v2/finder/google-languages?query=string'
Example Response
[  {    "language_code": "fr",    "language_name": "French"  },  {    "language_code": "fy",    "language_name": "Frisian"  }]