Package
#n Wyam.YouTube
Usage
-
YouTube(string apiKey)
Creates a connection to the YouTube API with authenticated access.
apiKey
The apikey to use.
Fluent Methods
Chain these methods together after the constructor to modify behavior.
-
WithRequest(string key, Func<IDocument, IExecutionContext, YouTubeService, Object> request)
Submits a request to the YouTube client. This allows you to incorporate data from the execution context and current document in your request.
key
The metadata key in which to store the return value of the request function.
request
A function with the request to make.
-
WithRequest(string key, Func<IExecutionContext, YouTubeService, Object> request)
Submits a request to the YouTube client. This allows you to incorporate data from the execution context in your request.
key
The metadata key in which to store the return value of the request function.
request
A function with the request to make.