gogol-youtube-0.0.1: Google YouTube Data SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.YouTube.GuideCategories.List

Contents

Description

Returns a list of categories that can be associated with YouTube channels.

See: YouTube Data API Reference for youtube.guideCategories.list.

Synopsis

REST Resource

type GuideCategoriesListResource = "youtube" :> ("v3" :> ("guideCategories" :> (QueryParam "part" Text :> (QueryParam "regionCode" Text :> (QueryParam "hl" Text :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` GuideCategoryListResponse))))))) Source

A resource alias for youtube.guideCategories.list method which the GuideCategoriesList request conforms to.

Creating a Request

guideCategoriesList Source

Creates a value of GuideCategoriesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gclPart :: Lens' GuideCategoriesList Text Source

The part parameter specifies the guideCategory resource properties that the API response will include. Set the parameter value to snippet.

gclRegionCode :: Lens' GuideCategoriesList (Maybe Text) Source

The regionCode parameter instructs the API to return the list of guide categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.

gclHl :: Lens' GuideCategoriesList Text Source

The hl parameter specifies the language that will be used for text values in the API response.

gclId :: Lens' GuideCategoriesList (Maybe Text) Source

The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the YouTube channel category ID.