Skip to main content

A simple wrapper for YouTube Data API v3 written in Python

Project description

Pytubedata

Pytubedata is a simple wrapper for YouTube Data API written in python

Installation

pip install pytubedata

Usage

This package requies a valid YT Data API Key. You can get one from Google Cloud Console

Quickstart

Getting the Client class

from Youtube import client

c= client()

Documentation

  • Search for videos

      c.request("search", q="search_query")
    
  • Get details of a channel

      c.request("channel_stats", id="channel_id")
    
  • Get playlists of a channel

      c.request("playlists_of_channel", id="channel_id")
    
  • Get details of a playlist

      c.request("playlist_stats", id="playlist_id")
    
  • Get videos of a playlist

      c.request("playlist_videos", id="playlist_id")
    
  • Get details of a video

      c.request("video", id="video_id")
    
  • Get comments from a video

    c.request("comment_for_video", id="video_id")
    
  • Get replies of a comment

      c.request("comment_replies", id="comment_id")
    

Check Youtube Data API Documentation for optional parameters you can pass

Contact

Mail: keshavandteam@gmail.com

Project details


Download files

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

Source Distribution

pytubedata-1.0.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

pytubedata-1.0.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file pytubedata-1.0.1.tar.gz.

File metadata

  • Download URL: pytubedata-1.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pytubedata-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0cb24aea0cdd71343ec72af61b910efb0acacacccf79ad77eb6ed24857c3cab5
MD5 c2a460276311d158d299e698a77862d3
BLAKE2b-256 bdb314f35cf31ce815d86aba1ccb78aba6fd999758b465580d1cc95a6a60876e

See more details on using hashes here.

File details

Details for the file pytubedata-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pytubedata-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pytubedata-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 156eac409e44fc010c2ea3d5de9f80356cfd72e344b1bf36a141667f95780a55
MD5 c3bcd76f5bfe3344684d435dfe00b668
BLAKE2b-256 1e2aa784705ab05f5b3e3b7da730d8b404d6d38a093d40dac2633e2ff5aa1a53

See more details on using hashes here.

Supported by

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