mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 11:21:20 +01:00
Update README.md
This commit is contained in:
1 parent
3c69d1f08f
commit
9b8e85742a
1 file changed
+2
-29
@@ -36,35 +36,8 @@ You can learn more at our website at: [returnyoutubedislike.com](https://www.ret
|
|||||||
|
|
||||||
## API documentation
|
## API documentation
|
||||||
|
|
||||||
Third party use of this open API is allowed with the following restrictions:
|
You can view all documentation on our website.
|
||||||
|
[https://returnyoutubedislike.com/documentation/](https://returnyoutubedislike.com/documentation/)
|
||||||
- **Attribution**: This project should be clearly attributed with either a link to this repo or a link to [returnyoutubedislike.com](https://returnyoutubedislike.com/).
|
|
||||||
- **Rate Limiting**: There are per client rate limits in place of 100 per minute and 10'000 per day. This will return a *429* status code indicating that your application should back off.
|
|
||||||
|
|
||||||
The API is accessible over the following base URL:
|
|
||||||
https://returnyoutubedislikeapi.com
|
|
||||||
|
|
||||||
List of available endpoints is available here:
|
|
||||||
https://returnyoutubedislikeapi.com/swagger/index.html
|
|
||||||
|
|
||||||
### Get votes
|
|
||||||
Example to get votes of a given YouTube video ID:
|
|
||||||
`/votes?videoId=kxOuG8jMIgI`
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"id": "kxOuG8jMIgI",
|
|
||||||
"dateCreated": "2021-12-20T12:25:54.418014Z",
|
|
||||||
"likes": 27326,
|
|
||||||
"dislikes": 498153,
|
|
||||||
"rating": 1.212014408444885,
|
|
||||||
"viewCount": 3149885,
|
|
||||||
"deleted": false
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
None existing YouTube ID will return status code *404* "Not Found".
|
|
||||||
Wrong formed YouTube ID will return *400* "Bad Request".
|
|
||||||
|
|
||||||
## HELP WANTED
|
## HELP WANTED
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user