Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update movie retrieval logic #15

Open
frank-tan opened this issue Aug 26, 2015 · 0 comments
Open

Update movie retrieval logic #15

frank-tan opened this issue Aug 26, 2015 · 0 comments
Assignees

Comments

@frank-tan
Copy link
Owner

Currently the app retrieve 60 movies by popularity and 60 movies by vote average within last 6 months. The app do the retrieval every 24 hours with 4 hours flexible time. It upsert db record but do not delete any records.

http://api.themoviedb.org/3/discover/movie?api_key=xxx&sort_by=popularity.desc&page=1&primary_release_date.gte=2015-02-20

and

http://api.themoviedb.org/3/discover/movie?api_key=xxx&sort_by=vote_average.desc&page=1&primary_release_date.gte=2015-02-20

The alternative better solution might be calling

GET https://api.themoviedb.org/3/movie/popular?api_key=xxx

or

GET https://api.themoviedb.org/3/movie/top_rated?api_key=xxx

or

GET https://api.themoviedb.org/3/movie/now_playing?api_key=xxx

@frank-tan frank-tan added this to the P2 milestone Aug 26, 2015
@frank-tan frank-tan self-assigned this Aug 26, 2015
@frank-tan frank-tan removed this from the P2 milestone Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant