Movie API
1.0.0
重要的
此 API 基于 123MOVIES 网站。意味着这是一个 123Movies.org.mx Api。
首先,您可以使用以下端点:
端点: https://movie-api-ed63.onrender.com/api/get
索取样品:
const resp = await fetch ( "https://movie-api-ed63.onrender.com/api/get" ) ;
const data = await resp . json ( ) ;
console . log ( data ) ;
响应样本:
{
"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
搜索电影https://movie-api-ed63.onrender.com/api/search/ ${query_parameter} / ${page}
范围 | 类型 | 描述 | 必需的? | 默认 |
---|---|---|---|---|
query_parameter | 细绳 | 电影名称 | 是的 | -- |
page | 整数 | ----- | 是的 | 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
}
端点
https://movie-api-ed63.onrender.com/api/genra/ ${genre_name} / ${pagee}
范围 | 类型 | 描述 | 必需的? | 默认 |
---|---|---|---|---|
genre_name | 细绳 | 动漫流派的名称。 | 是的 | -- |
page | 整数 | ------ | 是的 | 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/"
},
]
端点
https://movie-api-ed63.onrender.com/api/movie/ ${id}
范围 | 类型 | 描述 | 必需的? | 默认 |
---|---|---|---|---|
id | 细绳 | ------ | 是的 | -- |
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/"
},
]
端点
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 ) ;
范围 | 类型 | 描述 | 必需的? | 默认 |
---|---|---|---|---|
query_parameter | 细绳 | 你想看的动漫.. | 是的 | -- |
page | 整数 | ----- | 是的 | 1 |
movie,tv-series,top imdb | 细绳 | 你想看的动漫.. | 是的 | -- |
<----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/"
},
]