Movie API
1.0.0
Important
Cette API est basée sur le site 123MOVIES. Cela signifie qu'il s'agit d'une API 123Movies.org.mx.
Pour commencer, vous pouvez utiliser les points de terminaison suivants :
Point de terminaison : https://movie-api-ed63.onrender.com/api/get
Demander un échantillon :
const resp = await fetch ( "https://movie-api-ed63.onrender.com/api/get" ) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
Exemple de réponse :
{
"suggestionhomeMovie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/vkJE484VnRdilB9IgKNly7HIifR.jpg",
"type": "Saltburn",
"img": "HD",
"id": "saltburn/"
},
],
"latest": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/3S9u9oMFEwvzt1OGSv9PBowzmiD.jpg",
"type": "Aśoka",
"img": "HD",
"id": "aoka-2001/"
},
],
"tv": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/a2Ckhf72DfQKRNZpeECxyrqaIV3.jpg",
"type": "The Mire Season 2",
"img": "Eps 6",
"id": "the-mire-season-2/"
},
]
}
GET
Rechercher un film https://movie-api-ed63.onrender.com/api/search/ ${query_parameter} / ${page}
Paramètre | Taper | Description | Requis? | Défaut |
---|---|---|---|---|
query_parameter | chaîne | Le nom du film | Oui | -- |
page | int | ----- | Oui | 1 |
const resp = await fetch ( "https://movie-api-ed63.onrender.com/api/search/Oppenheimer/1" ) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
{
"pnex": "1",
"searchq": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg",
"type": "Oppenheimer",
"img": "HD",
"id": "oppenheimer/"
}
],
"searchk": null
}
Point de terminaison
https://movie-api-ed63.onrender.com/api/genra/ ${genre_name} / ${pagee}
Paramètre | Taper | Description | Requis? | Défaut |
---|---|---|---|---|
genre_name | chaîne | Le nom du genre anime. | Oui | -- |
page | int | ------ | Oui | 1 |
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/genra/drama/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
{
"pnex": "»»",
"genram": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/3S9u9oMFEwvzt1OGSv9PBowzmiD.jpg",
"type": "Aśoka",
"img": "HD",
"id": "aoka-2001/"
},
]
Point de terminaison
https://movie-api-ed63.onrender.com/api/movie/ ${id}
Paramètre | Taper | Description | Requis? | Défaut |
---|---|---|---|---|
id | chaîne | ------ | Oui | -- |
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/movie/oppenheimer/"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
{
"moviez": [
{
"name": "Oppenheimer",
"desc": "Watch Oppenheimer full movie online Movies123. Watch Oppenheimer 123movies online for free. Oppenheimer 123Movies: The story of J. Robert Oppenheimer's role in the development of the atomic bomb during World War II.",
"genre": "Drama, History",
"actors": "Cillian Murphy, Emily Blunt, Matt Damon, Robert Downey Jr., Florence Pugh, Josh Hartnett, Casey Affleck, Rami Malek, Kenneth Branagh, Benny Safdie, Jason Clarke, Dylan Arnold, Tom Conti, James D'Arcy, David Dastmalchian, Dane DeHaan, Alden Ehrenreich, Ton",
"director": "Director:Christopher Nolan",
"country": "Country:United Kingdom",
"type": "Quality:HD",
"releas": "Release: 2023 ",
"imdbRating": "IMDb: 8.1/10",
"keywords": null,
"bigbanner": "https://i1.wp.com/image.tmdb.org/t/p/w300/8Gxv8gSFCU0XGDykEGv7zR1n2ua.jpg",
"id": null
}
],
"theid": "tt15398776",
"tthetv": "https://vidsrc.xyz/embed/movie?imdb=tt15398776",
"youMAYlike": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/vkJE484VnRdilB9IgKNly7HIifR.jpg",
"type": "Saltburn",
"img": "HD",
"id": "saltburn/"
},
]
Point de terminaison
https://movie-api-ed63.onrender.com/api/showmovie/ ${query_paramenter} / ${page}
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/showmovie/movies/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/showmovie/tv-series/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
const resp = await fetch (
"https://movie-api-ed63.onrender.com/api/showmovie/top-imdb/1"
) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
Paramètre | Taper | Description | Requis? | Défaut |
---|---|---|---|---|
query_parameter | chaîne | L'anime que vous voulez voir.. | Oui | -- |
page | int | ----- | Oui | 1 |
movie,tv-series,top imdb | chaîne | L'anime que vous voulez voir.. | Oui | -- |
<----For Movie!---->
{
"pnex": "»»",
"movie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/3S9u9oMFEwvzt1OGSv9PBowzmiD.jpg",
"type": "Aśoka",
"img": "HD",
"id": "aoka-2001/"
},
]
<----For tv-SEries!---->
{
"pnex": "»»",
"movie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/a2Ckhf72DfQKRNZpeECxyrqaIV3.jpg",
"type": "The Mire Season 2",
"img": "EPS 6",
"id": "the-mire-season-2/"
},
]
<----For Top IMDb!---->
{
"pnex": "»»",
"movie": [
{
"name": "https://i0.wp.com/image.tmdb.org/t/p/w300/oYuLEt3zVCKq57qu2F8dT7NIa6f.jpg",
"type": "Inception",
"img": "HD",
"id": "inception/"
},
]