The Movie Database Support

Hi everyone,

I am trying to find a way to receive one response string by sending a unique URL request to TMDB API. e.g. the URL below will return the movie information:

https://api.themoviedb.org/3/movie/550?api_key={user API Key}

Where the 550 is the movie ID in TMDB.

Here is the results:

{"adult":false,"backdrop_path":"/yguBaPk5V0nZCcSBthre4YFMAgk.jpg","belongs_to_collection":null,"budget":63000000,"genres":[{"id":18,"name":"Drama"}],"homepage":"http://www.foxmovies.com/movies/fight-club","id":550,"imdb_id":"tt0137523","original_language":"en","original_title":"Fight Club","overview":"A ticking-time-bomb insomniac and a slippery soap salesman channel primal male aggression into a shocking new form of therapy. Their concept catches on, with underground \"fight clubs\" forming in every town, until an eccentric gets in the way and ignites an out-of-control spiral toward oblivion.","popularity":43.033,"poster_path":"/pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg","production_companies":[{"id":508,"logo_path":"/7PzJdsLGlR7oW4J0J5Xcd0pHGRg.png","name":"Regency Enterprises","origin_country":"US"},{"id":711,"logo_path":"/tEiIH5QesdheJmDAqQwvtN60727.png","name":"Fox 2000 Pictures","origin_country":"US"},{"id":20555,"logo_path":"/hD8yEGUBlHOcfHYbujp71vD8gZp.png","name":"Taurus Film","origin_country":"DE"},{"id":54051,"logo_path":null,"name":"Atman Entertainment","origin_country":""},{"id":54052,"logo_path":null,"name":"Knickerbocker Films","origin_country":"US"},{"id":25,"logo_path":"/qZCc1lty5FzX30aOCVRBLzaVmcp.png","name":"20th Century Fox","origin_country":"US"},{"id":4700,"logo_path":"/A32wmjrs9Psf4zw0uaixF0GXfxq.png","name":"The Linson Company","origin_country":"US"}],"production_countries":[{"iso_3166_1":"DE","name":"Germany"},{"iso_3166_1":"US","name":"United States of America"}],"release_date":"1999-10-15","revenue":100853753,"runtime":139,"spoken_languages":[{"english_name":"English","iso_639_1":"en","name":"English"}],"status":"Released","tagline":"Mischief. Mayhem. Soap.","title":"Fight Club","video":false,"vote_average":8.4,"vote_count":23031}

I am looking for the runtime string only and would like to know whether I can add an ending to the URL to receive the movie runtime in response as the single result. Any idea?

I know the JMESPath for the runtime only is as follows:

movie_results[].runtime

But not sure if there is a way to embed this in the URL!?

Cheers,

1 reply (on page 1 of 1)

• Jump to last post

@daniyal.ravandeh@gmail.com said:

Hi everyone,
I am looking for the runtime string only and would like to know whether I can add an ending to the URL to receive the movie runtime in response as the single result. Any idea?
I know the JMESPath for the runtime only is as follows:

movie_results[].runtime

But not sure if there is a way to embed this in the URL!?

I don't think it's possible.
The only way I know of getting runtime from a movie is by doing this basic API Request.
https://api.themoviedb.org/3/movie/550?api_key={user_API_Key}
And I don't know anything that can be added to the Request to change, shrink, the response data.

But surely only Travis Bell can provide a definitive answer.
I suspect there are some undocumented or unpublished parameters. :-)

Can't find a movie or TV show? Login to create it.

Want to rate or add this item to a list?

Login