Questions tagged [themoviedb-api]

The TheMovieDB API is a simple API for getting community built content for movies and actors from TheMovieDB site

TMDb is a free and community maintained movie database. It has a huge database of movies, actors, facts and all related details. It's similar to IMDB, but open to all. You need either a free or commercial API key to access the API. There are few wrapper libraries for languages like PHP, C#, and Java.

For more information, visit https://www.themoviedb.org/.

185 questions
9
votes
3 answers

Using theMovieDB to display Image Poster with PHP

I'm new to using the themoviedb JSON api, and I'm currently trying to do something that seems simple: Display a movie's main poster. I got an API key and here is the code / response I'm using. $ca = curl_init(); curl_setopt($ca, CURLOPT_URL,…
Vikram
  • 349
  • 3
  • 7
  • 16
8
votes
1 answer

How to preserve state for component added to an favourite list

I try to preserve state in three global views. I have component MovieRow which is called in the Popular, Favorite and Search components. The goal is that component MovieRow preserve its state when it is called in this views (Popular ...) For…
crg
  • 4,284
  • 2
  • 29
  • 57
4
votes
1 answer

Paginating the movie DB in swift

im having trouble setting up pagination in swift with the MovieDB API normally you would have a limit and an offet then that would relay to your model array .count -1 when working with CollectionViews Im working with a diffable datasource and cannot…
Legend_ 33
  • 125
  • 6
4
votes
2 answers

Getting movie image from TMDb

Just started working with the TMDb API and need to know how to get movie poster. I am having movie id, posterid also but not knowing proper URL for fetching the image poster.
3
votes
1 answer

Vue.js and The Movie Database API returns error 403

I am new to The Movie Database API. I created a Vue project and when I npm run serve and go to my localhost I see my app for 1 second and after that, I get a 403 with this error: 403 ERROR The request could not be satisfied. Request blocked. We …
Ivan Radunković
  • 105
  • 1
  • 3
  • 15
3
votes
1 answer

How to make two Retrofit calls and combine results?

I've been looking around StackOverflow and other Android-related sites to try and get a grasp on this, but I'm still struggling. I'm using Retrofit to make calls to an API as follows: public interface TheMovieDbApi…
user7494978
3
votes
4 answers

TMDB API Search function gives only one page of data

Hello I'm using TMDB Api and I got an error in my code saying that I have only 20 results out of 29. The reason is that the search function in TMDB did not return the second page of data. Here is the api search phrase (without my personal…
Aleksander Lipka
  • 354
  • 1
  • 9
  • 20
3
votes
2 answers

API key for themoviedb.org

I need to use themoviedb.org for one of the apps I am working on. For using the API, I need an API key. How do I get an API key on themoviedb.org?
Arjun Issar
  • 672
  • 4
  • 13
  • 32
3
votes
1 answer

Rails TMDB API Browse to Find

TMDB.org recently made a change to their API which removes the capability to browse their database. My Rails app used to use the tmdb-ruby gem to browse the TMDB database, but this gem only worked with v2.0 of the API, which is now defunct.…
PMP
  • 231
  • 6
  • 25
2
votes
2 answers

How to get an array of all movies from themoviedb?

I do not understand how to display all movies in an array. In console: 'index.jsx:14 GET https://api.themoviedb.org/3/movie/undefined?api_key=66eb3bde9cca0487f03e78b512b451e4 404 {success: false, status_code: 34, status_message: 'The resource you…
CatDog
  • 31
  • 1
  • 5
2
votes
4 answers

Try it out functionality of tmdb api not working

When I tried to see data through try it out functionality then it is showing the following error Error: Network Error Check the developer tools console, it might have more information on the error. If you are using an Adblocker, it is possible your…
hrishi007
  • 113
  • 2
  • 7
2
votes
2 answers

How to fetch images from response of themoviedb api

I'm getting the following JSON response from themoviedb API: { "popularity":1640.159, "vote_count":32, "video":false, "poster_path":"\/9Rj8l6gElLpRL7Kj17iZhrT5Zuw.jpg", "id":734309, …
2
votes
3 answers

Didn't get any data from Retrofit

i have a problem with Retrofit call. I'd wanted to get some data, just for testing purposes, to see if anything come, but as you can see, nothing comes. I've getting data like 0, 0.0, null. Json response { "page": 1, "total_results": 1295, …
user11579384
2
votes
0 answers

SSLHandshakeException while retrieving data from TheMovieDataBase using Retrofit+OkHttp in Android

I am trying to fetch list of movies from TheMovieDatabase(TMDb) Get: https://api.themoviedb.org/3/movie/now_playing?api_key=${KEY}&page=1 However, I am getting the following: HTTP FAILED: javax.net.ssl.SSLHandshakeException: Connection closed by …
2
votes
0 answers

Unable to load API Function on page load - Javascript

I am trying to fetch information from TheMovieDB.org using API, I made a simple code to do that, but it works when I add click event to a button/hyperlink, then it displays all the NowPlayingMovies. I want the webpage should display now playing…
1
2 3
12 13