How to get the username of the channel from using the youtube channel id ?
E.g. UCnpaBg-u_kHwzuPyaMcyJ0w is the Channel ID for Sony Max
now how to get username "maxindia" from Youtube v3 Api
When using the API (for example on developers.google.com), use part=snippet
and the channelId you provided, then the channelTitle
can be found in one of the items/snippet
objects.
Here is the truncated response:
{
...
"items": [
{
...
"snippet": {
...
"channelTitle": "maxindia",
...
}
}
}
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments