YouTube Data API v3 . tests

Instance Methods

close()

Close httplib2 connections.

insert(part, body=None, externalChannelId=None, x__xgafv=None)

POST method.

Method Details

close()
Close httplib2 connections.
insert(part, body=None, externalChannelId=None, x__xgafv=None)
POST method.

Args:
  part: string, A parameter (required) (repeated)
  body: object, The request body.
    The object takes the form of:

{
  "etag": "A String", # Etag for the resource. See https://en.wikipedia.org/wiki/HTTP_ETag.
  "featuredPart": True or False,
  "gaia": "A String",
  "id": "A String",
  "snippet": {
  },
}

  externalChannelId: 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 for the resource. See https://en.wikipedia.org/wiki/HTTP_ETag.
  "featuredPart": True or False,
  "gaia": "A String",
  "id": "A String",
  "snippet": {
  },
}