/moviesAPI-CLI

📎 Command Line Interface App using OMDb API

Primary LanguagePythonMIT LicenseMIT

moviesAPI-CLI

📎 Simple Command Line Interface using OMDb API

Quick introdution to my Project

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

Installation

  • 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 .

That's it, everything is set up

Now you can run tests on your local machine by typing:

py.test

As you can see below, I've already done it

tests