"Welcome to Movie Gallery API, your go-to source for accessing a vast collection of movies. Seamlessly browse through our extensive catalog, discover movie details, filter by genre, search by title, and explore related movies based on cast and genre. With user-friendly endpoints, our API empowers you to effortlessly retrieve movie information and enhance your movie-watching experience. Whether you're a movie enthusiast or a developer integrating movie data into your application, Movie Gallery API has you covered"
-
/: Home Page- This route renders the home page of your application.
-
/getMovies: Get All Movies- This route returns a list of all movies available in the database.
-
/getActors: Get All Actors- This route returns a list of all actors available in the database.
-
/getDirectors: Get All Directors- This route returns a list of all directors available in the database.
-
/getGenre: Get All Genres- This route returns a list of all genres available in the database.
-
/movies/<int:id>: Get Movie by ID- This route returns details of a specific movie identified by its ID.
-
/directors/<int:id>: Get Director by ID- This route returns details of a specific director identified by its ID.
-
/actors/<int:id>: Get Actor by ID- This route returns details of a specific actor identified by its ID.
-
/genres/<int:id>: Get Genre by ID- This route returns details of a specific genre identified by its ID.
-
/movies/genre/<int:id>: Filter Movies by Genre- This route returns a list of movies filtered by a specific genre identified by its ID.
-
/movies/director/<int:id>: Filter Movies by Director- This route returns a list of movies filtered by a specific director identified by its ID.
-
/movies/actor/<int:id>: Filter Movies by Actor- This route returns a list of movies filtered by a specific actor identified by its ID.
-
/movies/under_imdb_rating/<int:num>: Get Movies Under IMDb Rating- This route returns a list of movies with IMDb ratings under a specified value.
-
/movies/above_imdb_rating/<int:num>: Get Movies Above IMDb Rating- This route returns a list of movies with IMDb ratings above a specified value.
-
/movies/equal_imdb_rating/<int:num>: Get Movies with Equal IMDb Rating- This route returns a list of movies with IMDb ratings equal to a specified value.
-
/movies/release_year/<int:year>: Get Movies by Release Year- This route returns a list of movies released in a specific year identified by the provided year.
-
/create_user: Create User- This route is used to create a new user in the system.
-
/handleLogin: Handle Login- This route is used to handle user login requests.
-
/handleLogout: Handle Logout- This route is used to handle user logout requests.
-
/add_actor: Add Actor- This route is used to add a new actor to the database.
-
/add_director: Add Director- This route is used to add a new director to the database.
-
/add_genre: Add Genre- This route is used to add a new genre to the database.
-
/add_movie: Add Movie- This route is used to add a new movie to the database.
-
/delete_actor/<int:id>: Delete Actor by ID- This route is used to delete a specific actor from the database identified by its ID.
-
/delete_director/<int:id>: Delete Director by ID- This route is used to delete a specific director from the database identified by its ID.
-
/delete_genre/<int:id>: Delete Genre by ID- This route is used to delete a specific genre from the database identified by its ID.
-
/delete_movie_id/<int:id>: Delete Movie by ID- This route is used to delete a specific movie from the database identified by its ID.
-
/delete_movie_name: Delete Movie by Name- This route is used to delete a specific movie from the database identified by its name.