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 videos.
See: YouTube Data API Reference for youtube.videoCategories.list
.
Synopsis
- type VideoCategoriesListResource = "youtube" :> ("v3" :> ("videoCategories" :> (QueryParam "part" Text :> (QueryParam "regionCode" Text :> (QueryParam "hl" Text :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VideoCategoryListResponse)))))))
- videoCategoriesList :: Text -> VideoCategoriesList
- data VideoCategoriesList
- vclPart :: Lens' VideoCategoriesList Text
- vclRegionCode :: Lens' VideoCategoriesList (Maybe Text)
- vclHl :: Lens' VideoCategoriesList Text
- vclId :: Lens' VideoCategoriesList (Maybe Text)
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
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:
data VideoCategoriesList Source #
Returns a list of categories that can be associated with YouTube videos.
See: videoCategoriesList
smart constructor.
Instances
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.