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
0
votes
2 answers

Find specific data from object using React

so im using fetch to get an object which has film data, how would i get specific data from that object? I have added an example of one of the object which i am using and I can set thing such as the name, genre, cast, trailers, recommendations etc…
Imad
  • 93
  • 7
0
votes
1 answer

I try to get data from The Movie db API but this error appear:{status_code: 7, status_message: 'Invalid API key: You must be granted a valid key.'

Below is my code: fetch(` https://api.themoviedb.org/3/search/movie?api_key=<>&language=en-US&page=1&include_adult=fals&query=${e.target.value}`) .then((res)=> res.json()) .then(data =>{ console.log(data) }) and I…
0
votes
1 answer

Android- Using /find/{external_id} with TheMovieDB API

So I am building a movie rating app. I am pulling TheMovieDB API and using the "Find" to pull in an array of search results. The API is saying this. I need to figure out how to use the IMDB API to get the ID for the movie I want to search for. Any…
0
votes
0 answers

How to handle nested json with Spring Webflux and Webclient

I'm trying to consume the moviedb api with spring webclient but i dont know how to handle nested json. these are my models: @Data @JsonIgnoreProperties(ignoreUnknown = true) public class MovieDbResponse { private String page; private…
0
votes
1 answer

Combining 2 GET methods (movie collections) into one and displaying them in a single ListView

I'm currently playing around with the TMDB API and I'm trying to combine two maps of GET methods and display them in a single ListView (basically I'm trying to combine two movie collections into one). Here's the code of the Home Screen of my App…
0
votes
1 answer

Why is my API JSON response not being displayed?

I have followed a tutorial online to create a movie app using Vue JS and fetch. The functionality, when working, is that I can search a movie and a number of results are populated on the screen including the poster, title and year. After completing…
Mr_Happy
  • 65
  • 1
  • 12
0
votes
2 answers

I want to use react hook 'useState' to save the information fetched from API and show on the scrren. But, I can't use in class so what can I do?

So, for some context I'm fetching some search results on click on search button. The result shows in console.log() after clicking search button perfectly. the SearchComponent.js is below. import React, { Component, useState } from 'react' import {…
Jimil
  • 3
  • 1
  • 4
0
votes
1 answer

Wait window info and then continue function

I would like to implement the TMDB authentication on my React App but I have some trouble after approving the request token. TMDB authentication is done with 3 steps (more info here): Request a token (done) Get the token approved (this is the step…
kamal951
  • 167
  • 2
  • 15
0
votes
1 answer

Trying to get Backdrops of series from TMDB

I have a project where I have to download a different backdrop(wide image) for each season of a series, I am using TMDB API, I went through their API Docs and used what I found however I end up with a single backdrop my code import…
Amr
  • 119
  • 1
  • 10
0
votes
1 answer

Problem to get a object in json. Javascript

I'm doing a project for the school which is a website that shows all the information about all the films. i am using to do this the api the movie db, html css and javascript right now I'm trying to get the buttons to take me to a certain genre of…
0
votes
0 answers

Error: read ECONNRESET Axios in backend Node js

I am using axios in the backend nodejs and wanted to fetch the data of the movie database API. when is send request from frontend to my nodejs API it gives Error: read ECONNRESET error. But sometimes it works properly. here is my API route…
Ankur Kunal
  • 139
  • 1
  • 4
0
votes
1 answer

How to do pagination for a TableView with the MovieDB API Swift?

I'm trying to create an app where the user scrolls to the bottom of the tableview more results are displayed. At present only 20 items are displayed as per the API. The API has a parameter for page which I'm trying to increment by 1 each time the…
0
votes
1 answer

Making paginations with Angular - The Movie DB API

I'm trying to add more pages on my aplication consuming tmDB API, but I'm newbie and I don't know how to do it. I have in my movie component a Service of movies discoverMovies(page: number) { let discover =…
0
votes
0 answers

Some cells are blank when I get data from API and showing it in collection view

I have a collection view and I'm fetching data from themoviedb api. I get the cast for each movie. And each cell contains profile image view, name label and character label. The problem is that some cells are blank when I get the data. Though I've…
alisengur
  • 1
  • 1
0
votes
5 answers

Mapping an element with API information in React

I am developing a react app with a movie API (https://developers.themoviedb.org). The thing is that i am trying to put information from the API in a card. I use useState and useEffect for this. Also, I use Axios to bring it from the API. I don't…
Hey
  • 21
  • 5