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/"
},
]