return-youtube-dislike
return-youtube-dislike copied to clipboard
API: Add endpoint for bulk /Votes videoId requests, and/or entire channel.
Extension or Userscript?
Both
Request or suggest a new feature!
I'd like to request dislike counts for a whole bunch of videos at the same time. My use case is to sort videos of a given channel by like:dislike ratio, which would be hundreds of API requests if I need to do a separate request for each video currently. Not feasible to do with respect to the rate limit.
Ways to implement this!
- Update the
/Votes
endpoint to accept a comma-separated list of video ids, e.g.:
https://returnyoutubedislikeapi.com/Votes?videoIds=vid1%2Cvid2%2Cvid3
Returning a JSON array with all the results.
- Update the
/Votes
endpoint to accept a channel ID, like:
https://returnyoutubedislikeapi.com/Votes?channelId=sixtysymbols
Returning a JSON array of the results (or an object keyed by videoId).
Pagination may be needed for the results from these new endpoints, with a reasonable max page size, maybe like 100 or something?
Can you work on this?
- [x] Yes
- [ ] No
Will you be available for follow-up questions to help developers implement this?
Yes
Any update on this? It would be a very nice feature that would allow, for example, the ability to sort a channel's videos by their like/dislike ratio (quality).
Is the API open source? I might be willing to help build this.
related: https://github.com/Anarios/return-youtube-dislike/issues/144
Good idea! See also: #319