Currently, I'm working on getting the latest trend on Youtube. Is there a way to get the JSON Object so that I can use it in my java code.
Asked
Active
Viewed 185 times
0
-
Yes, [there is](https://stackoverflow.com/questions/30475309/get-youtube-trends-v3-country-wise-in-json) – Mikhail Antonov Mar 30 '17 at 08:18
-
can you help me out with that I will be thankful for you :) – Abhishek Ekaanth Mar 30 '17 at 08:20
1 Answers
2
From V3 you can use the following (from API Reference)
HTTP request
For what you intend the chart parameter of the query string is what you need, and it accepts mostPopular
The response is JSON as the following taken from their API example.
{ "kind": "youtube#videoListResponse", "etag": etag, "nextPageToken": string, "prevPageToken": string, "pageInfo": { "totalResults": integer, "resultsPerPage": integer }, "items": [ video Resource ] }

Edu G
- 1,030
- 9
- 23