Hi
Is it possible to get Tags and Category of short video of YouTube
Thanks
Hi
Is it possible to get Tags and Category of short video of YouTube
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Naimish MakwanaPosted Feb 2, 2023, 4:40 PM
Hello Ramco,
To get CategoryId = 10 videos.
Add below parameter in "var request = new RestRequest("search", Method.Get);"
Thanks
Naimish Makwana
Ramco RamcoPosted Feb 2, 2023, 4:36 PM
Hi Naimish
Suppose i want only Category Id=10 videos what i need to changr
Thanks
Naimish MakwanaPosted Feb 2, 2023, 4:10 PM
Hello Ramco.
Remove that line for a while. and check.
My be the issue due to your RestSharp version.
The given code is tested and fully working.
Thanks
Ramco RamcoPosted Feb 2, 2023, 4:06 PM
Hi Naimish
ON this line it is giving error - if (response.IsSuccessStatusCode).
Thanks
Naimish MakwanaPosted Feb 2, 2023, 2:33 PM
Hello Ramco,
You can get tags and category of short video like below.
You can get YoutubeSearchListResponse class and YouTubeSearchResponse from below answer.
https://www.c-sharpcorner.com/Forums/using-restsharp-api
Just replace below class
Thanks
Naimish Makwana