Python code, that makes API rating for IMDB, used in LAMPA plugin
- Clone repo:
git clone https://github.com/aartzz/rating-api - Go to directory:
cd rating-api - Install requirements:
pip install -r requirements.txt - Run
python main.py - Test your API with this URL:
http://YourIP:5000/rating?id=tt0944947. if it shows rating, you all set correctly.
- this program isn't working on PythonAnywhere. I tested it.