I was wondering how you can obtain your own channel ID using youtube API, or printing a list of the specific channelIDs from your user, since you can have multiple channels on your own user.(im using client_secrets)
i've been watchin alot of the documentation for youtube, but aint finding anything relevant for just this.(maybe im wrong, hehe)
i was watching this: How to retrieve a channel id from a channel name or url
and that was for a search for every channel, but it should be an easier solution just for your own user.(tell me if im wrong)
and is the right path to go?:
channels_list = youtube.channels().list(
part="id",
mine=True
).execute()
channelID = channel_list["items"]["id"]
im going to use the channelId to upload a specific video to the channel. I hope someone can help!