NetflixMovieCatalog is a simple Flask-based API that provides information about TV shows and movies.
GET /
- Welcome messageGET /discover
- Discover movies or TV showsPOST /updatePopularity
- Update the popularity of a specific movieGET /status
- Check the API status
-
Clone the repository:
git clone https://github.com/yourusername/NetflixMovieCatalog.git cd NetflixMovieCatalog
While changing the
yourusername
to your GitHub account name. -
Create a Python virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
data/data_tv.json
- Data for TV showsdata/data_movies.json
- Data for movies