Searching the youTube V3 API via channel name not username? -
youtube allows username , channel name. can different each other. youtube api allows me search via username can't see or how search channel name. channel name displayed under videos. shed light onto how can search via channel name/title , not username? thanks
if channel search api didn't return result call search api
https://www.googleapis.com/youtube/v3/search?part=snippet&type=channel&maxresults=1&q=(<# potential channel name #>)
so runs standard search entered value "potential channel name". google docs first returned result channel need 1 result why set maxresults=1.
if returns nothing assume channel not exists , display error user
Comments
Post a Comment