📎 Simple Command Line Interface using OMDb API
You can see every command along with what they do
movies --help
You can provide your API KEY
movies key
You can add some movies to your library
movies add
you can see the titles of all movies in your library
movies all
You can see top [x] movies in your library, by default x is 1
movies top --l x
You can see the most profitable movie in your library
movies profitable
You can see average IMDB rating of the movies in your library
movies avg
You can clear up your whole library
movies clear
- clone this repo to you local folder
git clone https://github.com/PiochU19/moviesAPI-CLI.git
cd moviesAPI-CLI
- make your virtualenv
virtualenv env
- and activate it
on Windows:
env/scripts/activate
on macOS and Linux
source env/Scripts/activate
- install package
pip install .
Now you can run tests on your local machine by typing:
py.test
As you can see below, I've already done it