- API Key: https://www.themoviedb.org/settings/api
- API docs: https://developers.themoviedb.org/3/getting-started
- Public description: https://www.themoviedb.org/documentation/api
Configurations (https://developers.themoviedb.org/3/configuration/get-api-configuration):
- Request Rate Limiting: 40 requests every 10 seconds
base_url: https://image.tmdb.org/t/p/backdrop_sizes: w30, w780, w1280, originallogo_sizes: w45, w92, w154, w185, w300, w500, originalposter_sizes: w92, w154, w185, w342, w500, w780, originalprofile_sizes: w45, w185, h632, originalstill_sizes: w92, w185, w300, original
Genres for movies (https://developers.themoviedb.org/3/genres/get-movie-list):
- Action (28)
- Adventure (12)
- Animation (16)
- Comedy (35)
- Crime (80)
- Documentary (99)
- Drama (18)
- Family (10751)
- Fantasy (14)
- History (36)
- Horror (27)
- Music (10402)
- Mystery (9648)
- Romance (10749)
- Science Fiction (878)
- TV Movie (10770)
- Thriller (53)
- War (10752)
- Western (37)
Default genres: 28, 12, 35, 80, 18, 10749, 878, 53
User model:
- Bcrypted password
- Transmi API key
- Genres for movies filter
- Lists (
watch-later,ignored,watched)
Display all movies that are not in our list, match our genres and:
- Top rated (https://developers.themoviedb.org/3/discover
release_date.gte=2017-06-19sort_by=popularity.desc) - Currently+soon in theatres (https://developers.themoviedb.org/3/discover
region=FRrelease_date.gte=2017-08-05release_date.lte=2017-09-05sort_by=popularity.desc)
Get general information for a movie: https://developers.themoviedb.org/3/movies movie_id=XXXXX append_to_response=alternative_titles,release_dates,videos,similar
On this page, display all the movies in our list with:
- "In theatres":
status=watch-laterandisInTheatres=trueandcanBeDownloaded=false - "Can be downloaded":
status=watch-laterandcanBeDownloaded=true - "Watch Later":
status=watch-laterandisInTheatres=falseandcanBeDownloaded=false
-
General information about the movie, the releases dates, the videos, the similar movies
-
The allocine link (https://www.npmjs.com/package/allocine-api
searchq={originalTitle}filter=movie, check theproductionYearin the results) -
Possibility to set the status of the movie to
watch-later,ignored,watched -
Add a refresh button
For each movie in our list with status=watch-later and canBeDownloaded=false, check with transmi API if it can be downloaded.
Run one time per day.
For each movie in our list with status=watch-later, check if there are some recently changes (https://developers.themoviedb.org/3/movies/get-movie-changes).
If some changes, refresh data movie information.
If key=videos and action=added and (!value.iso_639_1 || value.iso_639_1=en || value.iso_639_1=fr), send an email with the new trailers.
Run one time per day.
For each movie in our list with status=watch-later:
- If
isInTheatres=false, check the FRrelease_date. If this is in 4 days, setisInTheatres=trueand send an email. - If
isInTheatres=trueand FRrelease_date+ 14 days < NOW(), setisInTheatres=false
Run one time per day.
- Search movie
- Task movie-changes