PavanKumarPothula / runtime-viz

Apache License 2.0
0 stars 0 forks source link

Fetch the data from a DB. :1234: #2

Open PavanKumarPothula opened 2 years ago

PavanKumarPothula commented 2 years ago

TMDB seems to be a good option as you can search by year. https://www.themoviedb.org/documentation/api/discover But I could not find a similar example for OMDB.

PavanKumarPothula commented 2 years ago

It asks for a Application URL. What to fill in?

PavanKumarPothula commented 2 years ago

python wrapper library for TMDB: https://github.com/celiao/tmdbsimple

PavanKumarPothula commented 2 years ago

@praneeth9666 Please the check the changes.

praneeth9666 commented 2 years ago

so basically I think they limited their results to only 1 page. If we want more data we have to send more requests by specifying a page number in the request. The maximum page number they allow is 500 so the best we can do is 10,000. I think this should be enough data for us to proceed.