Back to Api Samples

README

dotnet/README.md

latest1.2 KB
Original Source

Samples in this directory:

Create a playlist

Method: youtube.playlists.insert

Description: The following code sample calls the API's <code>playlists.insert</code> method to create a private playlist owned by the channel authorizing the request.

Retrieve my uploads

Method: youtube.playlistItems.list

Description: The following code sample calls the API's <code>playlistItems.list</code> method to retrieve a list of videos uploaded to the channel associated with the request. The code also calls the <code>channels.list</code> method with the <code>mine</code> parameter set to <code>true</code> to retrieve the playlist ID that identifies the channel's uploaded videos.

Search by keyword

Method: youtube.search.list

Description: The following code sample calls the API's <code>search.list</code> method to retrieve search results associated with a particular keyword.

Upload a video

Method: youtube.videos.insert

Description: The following code sample calls the API's <code>videos.insert</code> method to upload a video to the channel associated with the request.