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

Do I need to secure my API key when I push to GitHub?

I am trying to use the Movie Database API to populate a simple Python data structure project for a class I am taking. I am a programming beginner, and have never tried to use an API before. I have been supplied two things: 1) API Key (V3 Auth) 2)…
Matt Cook
  • 149
  • 1
  • 1
  • 9
2
votes
1 answer

Swift function unclear in TMDB wrapper API

I'm making a application in Swift that makes use of a API from the TMDB. I found a wrapper for this. Installed it with Cocoapods and now I'm wrestling with the functions. I think the readme file is outdated. So with this function I want to retrieve…
Coen Walter
  • 79
  • 1
  • 1
  • 4
2
votes
1 answer

JSON data cannot be accessed getting error 404 (TMDB)?

I want the poster of required movie from TMDB. I am not able to get JSON data from TMDB API. I have send the request but getting error 404 'The resource you requested could not be found'. Link to access TMDB movie API :…
rock stone
  • 473
  • 2
  • 9
  • 20
2
votes
5 answers

List of supported languages from theMovieDB API

I am using TheMovieDB API for getting information about several movies. The API supports usage of different languages. https://www.themoviedb.org/documentation/api I am aware that the API has a function to get the current language being set. Is…
Purus
  • 5,701
  • 9
  • 50
  • 89
2
votes
4 answers

How to connect to TMDB api

Here is my api key: 7b5e30851a9285340e78c201c4e4ab99 And I am trying to connect to TMDB api: here is my code: package movieDBapiconnnection; import java.io.BufferedReader; import java.io.InputStreamReader; import…
Jusleong
  • 113
  • 3
  • 5
  • 10
1
vote
0 answers

How to remove R rated movies from TheMovieDatabase API

i am working with theMovieDatabase api I want to get the movies by name, luckily the functionality for that is working perfectly but now i am trying to add profanity to the data that i get back, some of the data is clearly 18+, but the adult…
Alucard
  • 58
  • 5
1
vote
1 answer

Error getting list of genres for a specific movie - The MovieDB API - React

I'm trying to get all the genres of a specific movie, but I'm not having success. I was able to list all movies and other information, however, I can't display the list of genres coming from an array. Can someone help me? This is the part of the API…
1
vote
0 answers

Using this JS function, how can I store in a SQL database TMDB fields?

I'm currently developing a project that will be Client on Java and Admin on PHP. For this purpose, I would like to store the API's data in a SQL database, so then I can show it in Java for the user to consume. The problem is, no matter how much I…
1
vote
0 answers

Pulling Movie_ID from TMDB Api

i have already installed MTDB, i have automated it with TMDB api, but i want to try something and experiment. Using https://www.2embed.ru/embed/tmdb/movie?id= you can generate an embed link to stream almost any movie. And i want to test it to see…
1
vote
1 answer

Handling pagination requests the Themoviedb in React

I am pulling data from Themoviedb and right now you can only retrieve 20 results per page. I'm building a movie-rating application where the user can rate movies as they appear on the screen. One movie at a time is shown. When the user gets through…
Farah10
  • 81
  • 1
  • 11
1
vote
0 answers

Why cannot fetch data from API using apikey

import React, { Component } from "react"; import Nav from "./Nav"; import SearchArea from "./SearchArea"; import MovieList from "./MovieList"; class App extends Component { constructor() { super(); this.state = { movies: [], …
Opanpan
  • 11
  • 1
1
vote
1 answer

Getting mixed content error while making this request (even though it is https)

I am practicing fetch-api by building a small movie search app with reactjs. It is working fine on localhost but when I deployed it on netlify getting this error. Mixed Content: The page at 'https://movie-search-abhi28069.herokuapp.com/' was loaded…
1
vote
0 answers

TMDb API - filter by genre id

I want to filter movies by their genre id and then present them in a page matching it. I have the genre id by using: this.actRoute.snapshot.params['id'] Routing {path: 'genre/:id', component:GenrePageComponent} Service …
moses
  • 181
  • 2
  • 9
1
vote
1 answer

Router duplicating my page components - Angular

I'm having some problems to add a back home button in my top nav-bar. I want it to reset my page to the initial state of the page. this is my header.component.html where I want to implement a function to go back to home page.
1
vote
1 answer

Pagination and loop through total pages count

I am building a small movie database to learn php. I make a call to the API from The Movie DB: $url = "https://api.themoviedb.org/3/search/movie?api_key=". $apiKey . "&" . $language . "&query=". $searchTerm ."&". $sortBy .""; // path to your JSON…
hashyx
  • 87
  • 7
1
2
3
12 13