Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a list of categories that can be associated with YouTube channels.
See: YouTube Data API Reference for youtube.guideCategories.list
.
Synopsis
- type GuideCategoriesListResource = "youtube" :> ("v3" :> ("guideCategories" :> (QueryParam "part" Text :> (QueryParam "regionCode" Text :> (QueryParam "hl" Text :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GuideCategoryListResponse)))))))
- guideCategoriesList :: Text -> GuideCategoriesList
- data GuideCategoriesList
- gclPart :: Lens' GuideCategoriesList Text
- gclRegionCode :: Lens' GuideCategoriesList (Maybe Text)
- gclHl :: Lens' GuideCategoriesList Text
- gclId :: Lens' GuideCategoriesList (Maybe Text)
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
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:
data GuideCategoriesList Source #
Returns a list of categories that can be associated with YouTube channels.
See: guideCategoriesList
smart constructor.
Instances
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.