YouTube Data API v3 . i18nLanguages

Instance Methods

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

Retrieves a list of resources, possibly filtered.

Method Details

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

Args:
  part: string, The <code><strong>part</strong></code> parameter specifies the
<code>i18nLanguage</code> resource properties that the API response will
include. Set the parameter value to <code>snippet</code>. (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:

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