Socket
Socket
Sign inDemoInstall

pytubedata

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pytubedata

A simple wrapper for YouTube Data API v3 written in Python


Maintainers
1

Readme

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

  • Create a file in secret.yml in the project's root directory and save the YouTube Data API key in that file.

  • Getting the Client

    from Youtube import Client
    
    c= Client()
    

Documentation

  • Search for videos

      c.search(query="api")
    

    check out Youtube/client.py for other parameters

  • Get activities of a channel

      c.request("activity",id="channel_id")
    
  • Get details of a channel

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

      c.request("channel_sections",id="channel_id")
    
  • Get section of a channel by id

      c.request("channel_section_by_id",id="section_id")
    
  • Get playlists of a channel

      c.request("playlists",id="channel_id")
    
  • Get playlist by id

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

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

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

      c.request("comments_on_video",id="video_id")
    
  • Get comment details by id

      c.request("comment_by_id",id="comment_id")
    
  • Get replies of a comment

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

Contact

Mail: keshavandteam@gmail.com

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc