A CLI tool for youtube data api v3
Project description
This a CLI tool for youtube data v3 API
Installation
Install with pip:
pip install humdrum
Or from git:
git clone https://github.com/princekrroshan01/humdrum/ cd humdrum virtualenv venv source venv/bin/activate pip install -r requirements.txt
Prerequisites
Get the youtube data v3 api key from (https://console.developers.google.com/apis/) and set a environment variable with the name API_KEY Reference for setting environment variable in linux (https://www.redhat.com/sysadmin/linux-environment-variables) and for windows (https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0)
Make a python alias by typing
alias humdrum="python3 (location of file cli.py)" in terminal No need to create alias if you download this package using pip
using
Type humdrum --help in terminal This will guide you through the process
humdrum --help Usage: humdrum [OPTIONS] Options: --count INTEGER enter the number of video you are looking for. --title TEXT enter the title name of video you are looking for --order TEXT to sort the video by date rating viewCount --type TEXT to search for type of video like channel video playlist --help Show this message and exit.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
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
File details
Details for the file humdrum-0.7.tar.gz
.
File metadata
- Download URL: humdrum-0.7.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce12d58e2e2095daf025354b005e518547b55ba94afee9025777601ff7482b35 |
|
MD5 | 0c3a2596eef1f2c08017e9275798d6af |
|
BLAKE2b-256 | 4a75c35a88f891b31d45d3b4541cd9d9ca0bf345fb562e166699632e83c72251 |