This example sets the forUsername parameter value to Google to retrieve information for Google's official YouTube channel. Set the forUsername parameter to a YouTube username to retrieve information for the channel associated with that username. Your request must be authorized using OAuth 2.0. Set the mine parameter value to true to retrieve information for the currently authenticated user's YouTube channel. There are several ways to identify the channel: In the API response, the property contains the playlist ID. The request's part parameter value must include contentDetails as one of the channel resource parts being retrieved. Step 1: Retrieve the playlist ID for the channel's uploaded videosĬall the channels.list method to retrieve the ID of the playlist that contains the channel's uploaded videos. ![]() This example retrieves the videos uploaded to a particular channel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |