A Project that Scrapes the movies and cinemas all over Egypt and other Countries in The MENA, Providing them as a RESTful API using Django REST framework
pip install -r requirements.txt
python manage.py runserver
The scraper runs daily automatically but you can run it manually
python manage.py runparser
-
GET
: Get all cinemasPOST (Authenticated)
: Create a Cinema and should be used only by the Scraper
-
GET
: Get a specific CinemaPUT (Authenticated)
: change the Cinema objectDelete (Authenticated)
: delete the Cinema object
-
-
GET
: Get all moviesIt can be filtered with
movie_title
,movie_genres
andmovie_rating
curl http://localhost:8000/api/movies/?movie_title=Avatar&movie_genres=Animation&movie_rating=&order=-rating
-
POST (Authenticated)
: Create a Movie and should be used only by the Scraper
-
-
GET
: Get a specific MoviePUT (Authenticated)
: change the Movie objectDelete (Authenticated)
: delete the Movie object
-
GET
: Get all genres of the movies
The server can run with
docker compose up