Skip to main content

Python Return YouTube Dislike

A simple Python library to work with the Return YouTube Dislike API
PyPi page: https://pypi.org/project/python-return-youtube-dislike/

Usage

To install the package, run the following command:

pip install python-return-youtube-dislike

Once installed, import it into your script with the following code:

from pythonryd import *

All functions in this library take in a parameter called video_id. This is the part after the watch?v= of a YouTube URL.
For the YouTube URL https://www.youtube.com/watch?v=SvcttIw9qBM the video_id is SvcttIw9qBM

Commands

The package contains the following commands:
ryd_getvideoinfo(video_id)

video = ryd_getvideoinfo("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(video)

Response:

{'id': 'SvcttIw9qBM', 'dateCreated': '2022-01-23T04:44:33.634409Z', 'likes': 645, 'dislikes': 167, 'rating': 4.177339901477833, 'viewCount': 300777, 'deleted': False}

ryd_getvideolikes(video_id)

likes = ryd_getvideolikes("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(likes)

Response:

645

ryd_getvideodislikes(video_id)

dislikes = ryd_getvideodislikes("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(dislikes)

Response:

167

ryd_getvideorating(video_id)

rating = ryd_getvideorating("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(rating)

Response:

4.177339901477833

ryd_getvideoviews(video_id)

views = ryd_getvideoviews("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(views)

Response:

300777

ryd_isvideodeleted(video_id)

deleted = ryd_isvideodeleted("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(deleted) # Returns True if deleted, False if not deleted (It's a string, not a bool)

Response:

False

ryd_getvideodatecreated(video_id)

dateCreated = ryd_getvideodatecreated("SvcttIw9qBM") # Using SvcttIw9qBM as an example
print(dateCreated)

Response:

2022-01-23T04:44:33.634409Z

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-return-youtube-dislike-1.1.5.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file python-return-youtube-dislike-1.1.5.tar.gz.

File metadata

File hashes

Hashes for python-return-youtube-dislike-1.1.5.tar.gz
Algorithm Hash digest
SHA256 7c191706dcdfcbc35a0eb19864b1c698cd22ea685c2322b66ba4358435824be9
MD5 a14892664f8aa8a791b5fad7d19ddd0c
BLAKE2b-256 e370a04e03354c3ddf558f9f1a7456c29ded0d89d04982ff347bfa5e326256a3

See more details on using hashes here.

File details

Details for the file python_return_youtube_dislike-1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for python_return_youtube_dislike-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9a26b966d70731934ffd30d86b426cdbde698647432b124f7065615f03a061d2
MD5 8006388f484632787866059fc4590b11
BLAKE2b-256 2911b590a0ca3c6a78c04d709de0b7e06a1976c30e3e3b738ad39899c3662e47

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page