Piloterr

Google Languages Finder

Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.

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.

Credit cost: 0 credits per call (free of charge)

Autorisierung

ApiKeyAuth
headerx-api-key<token>

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

Abfrageparameter

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}. The call is billed once, when the job completes. fields does not apply to asynchronous results.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.

Defaultfalse

Antworttext

Successful response

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