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 |
Lists fan funding events for a channel.
See: YouTube Data API Reference for youtube.fanFundingEvents.list
.
- type FanFundingEventsListResource = "youtube" :> ("v3" :> ("fanFundingEvents" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] FanFundingEventListResponse)))))))
- fanFundingEventsList :: Text -> FanFundingEventsList
- data FanFundingEventsList
- ffelPart :: Lens' FanFundingEventsList Text
- ffelHl :: Lens' FanFundingEventsList (Maybe Text)
- ffelPageToken :: Lens' FanFundingEventsList (Maybe Text)
- ffelMaxResults :: Lens' FanFundingEventsList Word32
REST Resource
type FanFundingEventsListResource = "youtube" :> ("v3" :> ("fanFundingEvents" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] FanFundingEventListResponse))))))) Source #
A resource alias for youtube.fanFundingEvents.list
method which the
FanFundingEventsList
request conforms to.
Creating a Request
Creates a value of FanFundingEventsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FanFundingEventsList Source #
Lists fan funding events for a channel.
See: fanFundingEventsList
smart constructor.
Request Lenses
ffelPart :: Lens' FanFundingEventsList Text Source #
The part parameter specifies the fanFundingEvent resource parts that the API response will include. Supported values are id and snippet.
ffelHl :: Lens' FanFundingEventsList (Maybe Text) Source #
The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method. If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.
ffelPageToken :: Lens' FanFundingEventsList (Maybe Text) Source #
The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
ffelMaxResults :: Lens' FanFundingEventsList Word32 Source #
The maxResults parameter specifies the maximum number of items that should be returned in the result set.