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.VideoCategories.List

Contents

Description

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

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

Synopsis

REST Resource

type VideoCategoriesListResource = "youtube" :> ("v3" :> ("videoCategories" :> (QueryParam "part" Text :> (QueryParam "regionCode" Text :> (QueryParam "hl" Text :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` VideoCategoryListResponse))))))) Source

A resource alias for youtube.videoCategories.list method which the VideoCategoriesList request conforms to.

Creating a Request

videoCategoriesList Source

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

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

Request Lenses

vclPart :: Lens' VideoCategoriesList Text Source

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

vclRegionCode :: Lens' VideoCategoriesList (Maybe Text) Source

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

vclHl :: Lens' VideoCategoriesList Text Source

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

vclId :: Lens' VideoCategoriesList (Maybe Text) Source

The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving.