Skip to content

lonexd3vil/tmdb-api

Repository files navigation

tmdb-api

This is a Django + Django Rest Framework based backend built upon the tmdb-api.

urls endpoints

Although url endpoints and setup in api/urls.pybut here is a quick run down and explanation for each endpoint

Home Page

' ' home url, which is basically of no use

Movies Endpoints

/api/movies/ will load movies based on popularity in decending order

/api/movies/popular/ will load popular movies at that time

/api/movies/theaters/ will load movies that are currently playing on theaters

/api/movies/toprated/ will load movies that are top-rated at that time

/api/movies/upcoming/ will load movies that are upcoming on theaters

/api/movies/tmdbid/ will load movie based with the corrosponding given id

/api/movies/search/query/ will search for movies based on the given query

Production Company endpoint

/api/company/id/ will search for a production company based on the given id, you will get this id while u look for any movie or series, you will be provided with production company details. use that id here

Query endpoints

/api/search/query/ will search for movies and series both based on the given query

/api/search/query/page/int/ will search for movies and series both based on the given query and based on given page number, thus allowing for a multi-page search

List of genres

/api/genres/ this will get a list of genres available on tmdb along with genre id

TV Shows endpoints

/api/tv/ will load TV Shows based on popularity in an desending order

/api/tv/popular/ will load popular TV Shows

/api/tv/toprated/ will load Top-Rated TV Shows

/api/tv/ongoing/ will load On-Going TV Shows

/api/tv/tmdbid/ will load TV Show based on id

/api/tv/tmdbid/season/int will load complete season based on the given TV show id

/api/tv/tmdbid/season/int/episode/int will load the specified episode corrosponding to the season and the given TV show id

/api/tv/videos/tmdbid/season/int will load all the videos available to the corrosponding tv show's season

/api/tv/images/tmdbid/season/int will load all the images available to the corroponsindg tv show's season

Finding a actor details endpoints

/api/person/id will load details regarding the given actor id

Requirments

just run pip install -r requirements.txt and it will setup all the neccasary modules

About

This is a Django based backend built upon the tmdb-api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors