Soporte de The Movie Database

Hi! i hope you are well and you find this mail well.
i am working on local project where i have to fetch api and display on my project.
some apis not working properly .
these are the apis
fetchTrending: /trending/all/week?api_key=${API_KEY}&language=en-US,
fetchNetflixOrignals: /discover/tv?api_key=${API_KEY}&with_networks=213,
fetchTopRated: /movie/top_rated?api_key=${API_KEY}&language=en-US,
fetchActionMovies: /discover/movies?api_key=${API_KEY}&with_genres=28,
fetchComedyMovies: /discover/movies?api_key=${API_KEY}&with_genres=35,
fetchHorrorMovies: /discover/movies?api_key=${API_KEY}&with_genres=27,
fetchRomanceMovies: /discover/movies?api_key=${API_KEY}&with_genres=10749,
fetchDocumentaries: /discover/movies?api_key=${API_KEY}&with_genres=99,

and its says
"The resource you requested could not be found."

1 respuesta (en la página 1 de 1)

Jump to last post

@hassanrashid2299 said:
Fetch API problem
Hi! i hope you are well and you find this mail well.
i am working on local project where i have to fetch api and display on my project.
some apis not working properly .
these are the apis
fetchTrending: /trending/all/week?api_key=${API_KEY}&language=en-US,
fetchNetflixOrignals: /discover/tv?api_key=${API_KEY}&with_networks=213,
fetchTopRated: /movie/top_rated?api_key=${API_KEY}&language=en-US,
fetchActionMovies: /discover/movies?api_key=${API_KEY}&with_genres=28,
fetchComedyMovies: /discover/movies?api_key=${API_KEY}&with_genres=35,
fetchHorrorMovies: /discover/movies?api_key=${API_KEY}&with_genres=27,
fetchRomanceMovies: /discover/movies?api_key=${API_KEY}&with_genres=10749,
fetchDocumentaries: /discover/movies?api_key=${API_KEY}&with_genres=99,

and its says
"The resource you requested could not be found."

It's probably an error in the API Request you're sending.
Since your examples aren't complete, I'll post a complete and working one here.
Try my example in a new tab in your browser and let us know if it works for you.

fetchComedyMovies:   
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_genres=35

Of course, you should replace THE_KEY with your own API Key.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión