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.2.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.2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytubedata-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1a66c17b6dbc5fbb3bf709d59116a66a939cc428008344e24fb1c65f76834f4a
MD5 26853366d548d94f9790430bc42f8da2
BLAKE2b-256 88fd263cb097c63bb01a1f88d86f68c6aef2a35a70cc952603397a029b415124

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytubedata-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0606b27474e310b9924d65711803d2bc8e86ff1d7d674c97df4f50227e8a7fb4
MD5 b15cb4b01ca35e184905992c36c36b07
BLAKE2b-256 6bb6c97d8dca00bd42510381dc8e6ab687f625a823539345f3829301370d6ebb

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