If you still haven’t figured out how Google’s A.P.I. works, here’s a simple example to help you understand.
Open this link and fill in only the fields part and channelId with: snippet and UChdrIsYOHZXgEyCLaOHc2Ew.
This string ID UChdrIsYOHZXgEyCLaOHc2Ew is the channelId for the TVRcanaluloficial youtube channel.
Then press Execute button and give the authorization for interrogation using All.
This will return with 200 response with this content result:
1 2 3 4 5 6 7 8 9 10 11 12 13 | { "kind": "youtube#activityListResponse", "etag": "mmNvCW3Mx-h-MjhwUbr7XduZvRo", "items": [ { "kind": "youtube#activity", "etag": "ReJYW8-oWbgO5nVxnVp4LoIzAZQ", "id": "MTUxNjcwODUxODI2MTY3MDg1MTgyNjAwMDMwMg", "snippet": { "publishedAt": "2022-12-12T13:30:26+00:00", "channelId": "UChdrIsYOHZXgEyCLaOHc2Ew", "title": "Vorbeşte corect! cu Ruxandra Gheorghe Negrea: maxim sau maximum? (@TVR1)", "description": ... |
NOTE:
1. You can click on the “list (any channel)” link and fields will fill with information then you can run it.
2. Some channels don’t have information added, see the NASA youtube channel, the result will be like this:
1 2 3 4 5 6 7 8 | { "kind": "youtube#channelListResponse", "etag": "RuuXzTIr0OoDqI4S0RU6n4FqKEM", "pageInfo": { "totalResults": 0, "resultsPerPage": 5 } } |
In this case, you will not be able to take data as channelId because it does not exist, and you will have to find another method.