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
1
vote
2 answers

How pass API info from a react component to another?

i am fighting with a react app with a movie API (https://developers.themoviedb.org) hahaha. I have a list component with movie and tv cards. I map a list state and put the info in my cards (id, title and poster). When i click in my card, the site…
Hey
  • 21
  • 5
1
vote
2 answers

Select2 Not Displaying Ajax Response, tmdb data

Before you mark this as a duplicate, please read carefully.. I am using select2 to select remote data via ajax. I am able to console.log and see the returned data, but the response is not displayed using on the select2 options. I am searching movie…
Abdalla Maro
  • 98
  • 1
  • 6
1
vote
1 answer

Fetch data from API, problem first time array is undefined

I have a issue fetching data from API, I fetch from API when I submit a form. The issue is when I console log the array to see what elements I receive, my array is undefined, and it's only when I click (submit the form) the second time that the…
Rafa29
  • 33
  • 3
1
vote
1 answer

let films = await response.data.films.map(film =>

I'm getting this error massage when I run my server.js file. Error Message: let films = await response.data.films.map(film =>{ ^^^^^ SyntaxError: await is only valid in async function at new Script…
1
vote
1 answer

Angular 7 getting multiple value from the json

Json example but getting json data from service: {"id":384018,"results":[{"id":"5c54548b0e0a2612ccd3d25f","iso_639_1":"en","iso_3166_1":"US","key":"9SA7FaKxZVI","name":"Fast & Furious Presents: Hobbs & Shaw - Official Trailer …
RRPANDEY
  • 235
  • 4
  • 15
1
vote
4 answers

Remove duplicate values from view - Angular

Below are duplicated fields i want to filter and just display one instead of both: "release_dates":[ {"certification":"PG-13","iso_639_1":"","note":"Telluride Film…
RRPANDEY
  • 235
  • 4
  • 15
1
vote
1 answer

the moviedb url ending point not working?

I am developing android movie app using themoviedb but when I call movies json ending point I am getting this error from postman { "status_code": 7, "status_message": "Invalid API key: You must be granted a valid key." } below my ending…
Edgar Shvedskiy
  • 135
  • 3
  • 18
1
vote
1 answer

Getting 401 using themoviedb, and retrofit

so I'd wanted to make API call with a dynamic request, but for first, I'd created the "raw" call, hardcoded. So, this address in a web browser works fine https://api.themoviedb.org/3/discover/movie?api_key=API_KEY&with_genres=27 Here's the raw API…
user11579384
1
vote
1 answer

Setting state from firebase database info in react js

I'm trying to learn react and I'm creating a web app with firebase database and auth and the movie db api. I'm able to have a user click on a movie and add that movie to their watchlist "sends info of that movie to firebase". now I'm trying to…
juicy j
  • 183
  • 5
  • 20
1
vote
1 answer

Unable to access Api call data. Returns undefined. React

I am trying to make a movie search app with React and have made an API call to The Movie Database API. What I am trying to do is get the data of the new movie releases, but then make another API call to get the specific details for each of those new…
1
vote
1 answer

C# TheMovieDB serializer.Deserialize returns 0 records

I'm trying to retrieve data from the TheMovieDB API with C#. I don't want to use external libraries now, because I want to get better in C#. TheMovieDB API returns me the following: I have the following classes: public class raizDoJson { …
Daniel Castro
  • 155
  • 1
  • 1
  • 10
1
vote
0 answers

Swift MovieDB API Search Bar integration

Everyone, I'm having difficulties finding documentation on how to implement a Search filter for My Movie DB app ill attach my code so far below I've managed to get the data to show up in the table view The title and Image What I need to do now is…
Harvista
  • 31
  • 6
1
vote
2 answers

Trouble getting data from TheMovieDB API with Swift JSON

I am brand new to using JSON and wanted to get started with a simple app to provide a movie overview when you type in a title. My below code returns everything in one big string. How do I get just one piece of information like the overview or…
user4812000
  • 1,033
  • 1
  • 13
  • 24
1
vote
1 answer

TheMovieDB - Find random Movie

So I am using the movieDB (https://developers.themoviedb.org/3/find/find-by-id) and using it to search for movies in various ways i.e popularity, by name or by ID. I want to now implement a random movie generator onto my site, there is no explicit…
VicentVega
  • 191
  • 1
  • 4
  • 11
1
vote
3 answers

How to get input value from templates and store to database [Django]

I'm trying to get {{ id }} when user clicks on movie and save it to models. I can't use modelForm because id parameter comes from html template. Any suggestions? Maybe, there is a different way to get an id of that movie user clicks? Btw, I'm using…
Mesolaries
  • 298
  • 5
  • 14
1 2
3
12 13