Thanks for updating the nextpageToken issue.
I have one important thing to use this scrapper for my work. I need to get a result in latest order but it seems like the channel videos api is not returning the results in latest order. Can you please let me know about it?
I understand your concern. It is assumed that the developers who intend to use the API must be aware of the Data API v3. You need to call the API just as you do in the Data API v3. Please make the API request and send the request to API endpoint like:
for first request:
/search?channelId=UCBVjMGOIkavEAhyqpxJ73Dw&part=snippet%2Cid&maxResults=50
For next page:
/search?channelId=UCBVjMGOIkavEAhyqpxJ73Dw&part=snippet%2Cid&maxResults=50&pageToken=[nextPageToken value from the previous response]
This applies to all endpoints wherever paging is applicable.
Присоединяйтесь к обсуждению – добавьте комментарий ниже:
Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии
Hi,
For videos, use the id from the channel endpoint, and use it to get the data from video endpoint.
Thanks, one more question,
I want to get “statistics” data of videos from channel videos api.
https://drive.google.com/file/d/1vIVLB2L8PMuTcuKC5GKF_DyGAvhqzSEY/view?usp=sharing
I tried to add “statistics” but it is not working.
Would you let me know what to do?
Thanks.
Hi,
The data was showing the results in default relevance order.
An input box for order has been added. You may use it with order set to date.
Please note that the API follows Data API v3 standards.
https://drive.google.com/file/d/1KUZV7U8WxLjsSJlIVvLNcsNjPMez6K-N/view
Please see this screenshot, I used “cache bust” feature but I am still not getting the latest order.
As said earlier,
Data is cached, so to check the latest data, use the cache bust feature.
Thanks for updating the nextpageToken issue.
I have one important thing to use this scrapper for my work. I need to get a result in latest order but it seems like the channel videos api is not returning the results in latest order. Can you please let me know about it?
Input box added.
So can you add pageToken input box so we can use it?
Thanks!
P.S.
Data is cached, so to check the latest data, use the cache bust feature.
Hi,
I understand your concern. It is assumed that the developers who intend to use the API must be aware of the Data API v3. You need to call the API just as you do in the Data API v3. Please make the API request and send the request to API endpoint like:
for first request:
/search?channelId=UCBVjMGOIkavEAhyqpxJ73Dw&part=snippet%2Cid&maxResults=50
For next page:
/search?channelId=UCBVjMGOIkavEAhyqpxJ73Dw&part=snippet%2Cid&maxResults=50&pageToken=[nextPageToken value from the previous response]
This applies to all endpoints wherever paging is applicable.