Method: i18nLanguages.list

Returns a list of application languages that the YouTube website supports.

This method doesn't require OAuth 2.0 authorization and doesn't define method-specific errors. For general API errors, see Error messages. For code examples, see i18nLanguages.list code snippets.

HTTP request

GET https://youtube.googleapis.com/youtube/v3/i18nLanguages

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
hl

string

Specifies the language used for text values in the API response. The default value is en_US.

part[]

string

Required. Specifies the i18nLanguage resource properties that the API response includes. Set the parameter value to snippet (or id to omit the snippet object).

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "etag": string,
  "items": [
    {
      object (I18nLanguage)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string "youtube#i18nLanguageListResponse".

etag

string

Etag of this resource.

items[]

object (I18nLanguage)

A list of supported i18n languages.