YouTube Data API v3 . i18nLanguages

Instance Methods

close()

Close httplib2 connections.

list(part, hl=None, x__xgafv=None)

Retrieves a list of resources, possibly filtered.

Method Details

close()
Close httplib2 connections.
list(part, hl=None, x__xgafv=None)
Retrieves a list of resources, possibly filtered.

Args:
  part: string, The *part* parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet. (required) (repeated)
  hl: string, A parameter
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "etag": "A String", # Etag of this resource.
  "eventId": "A String", # Serialized EventId of the request which produced this response.
  "items": [ # A list of supported i18n languages. In this map, the i18n language ID is the map key, and its value is the corresponding i18nLanguage resource.
    { # An *i18nLanguage* resource identifies a UI language currently supported by YouTube.
      "etag": "A String", # Etag of this resource.
      "id": "A String", # The ID that YouTube uses to uniquely identify the i18n language.
      "kind": "youtube#i18nLanguage", # Identifies what kind of resource this is. Value: the fixed string "youtube#i18nLanguage".
      "snippet": { # Basic details about an i18n language, such as language code and human-readable name. # The snippet object contains basic details about the i18n language, such as language code and human-readable name.
        "hl": "A String", # A short BCP-47 code that uniquely identifies a language.
        "name": "A String", # The human-readable name of the language in the language itself.
      },
    },
  ],
  "kind": "youtube#i18nLanguageListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#i18nLanguageListResponse".
  "visitorId": "A String", # The visitorId identifies the visitor.
}