Giter Club home page Giter Club logo

humdrum's Introduction

humdrum

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

General Info

Why two options to download

if you install using pip then it creates a binary/executable in /usr/bin folder.
You could locate it using locate command line utility of unix/linux.
if You want to avoid this clone the repo and create an alias.

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.

demo

humdrum.gif

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

humdrum's People

Contributors

agent-hellboy avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.