-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
missionImprovements or additions to documentationImprovements or additions to documentation
Description
๐ฅ Movie List ์ฌ์ดํธ ๋ง๋ค๊ธฐ
- https://developers.themoviedb.org/3/movies/get-movie-details
- ์ ์ฌ์ดํธ์ "Movie" ์นดํ ๊ณ ๋ฆฌ์ ์๋ ์คํ API๋ฅผ ํ์ฉํ์ฌ Movie List ์ฌ์ดํธ๋ฅผ ๋ง๋ญ๋๋ค.
- ์์ธํ API ์ฌ์ฉ ๋ฐฉ๋ฒ์ ์๋์ "API ์ฌ์ฉ ๋ฐฉ๋ฒ"์ ์ฐธ๊ณ ํด์ฃผ์ธ์.
๊ธฐ๋ณธ ์๊ตฌ์ฌํญ
1. ๋ฉ์ธ ํ๋ฉด์ ๊ตฌํํ๋ค.
- ๋ฉ์ธ ํ๋ฉด์๋ Movie List ๋ฐ์ดํฐ๊ฐ ๋ณด์ฌ์ง๋ค.
- ์ํ์ ์ ๋ชฉ, ์ํ ๊ฐ๋ด ์ฐ๋, ํฌ์คํฐ ์ด๋ฏธ์ง ๋ฐ์ดํฐ๋ฅผ ๋ณด์ฌ์ค์ผ ํ๋ค.
- ๋ฉ์ธ ํ๋ฉด์์, ์คํฌ๋กค์ด ํ๋ฉด์ ๋ฐ๋ฅ์ ๋ฟ์ ๊ฒฝ์ฐ infinity scroll๋ก ๋ฐ์ดํฐ๋ฅผ ๋ถ๋ฌ์จ๋ค.
- ์ข์ธก ์๋จ์ ๋ก๊ณ ๋ฅผ ๋๋ฅด๋ฉด ๋ค์ ๋ฉ์ธ ํ๋ฉด์ผ๋ก ๋์์จ๋ค.
2. ์ํ ๊ฒ์ ๊ธฐ๋ฅ์ ๊ตฌํํ๋ค.
- ํ๋ฉด ์ฐ์ธก ์๋จ์ input์์ ์ํ๋ฅผ ๊ฒ์ํ ์ ์๋ค.
- ๊ฒ์์ด ์ ๋ ฅ ํ, enter ํค๋ฅผ ๋๋ฅด๊ฑฐ๋ ์์ ๋๋ณด๊ธฐ ์์ด์ฝ์ ํด๋ฆญ ์ ๊ฒ์๋๋ค.
- ๊ฒ์ ๊ฒฐ๊ณผ๊ฐ ์กด์ฌํ์ง ์์ ๊ฒฝ์ฐ, <๊ฒ์ ๊ฒฐ๊ณผ๊ฐ ์กด์ฌํ์ง ์์ต๋๋ค> ๋ผ๋ ํ ์คํธ๋ฅผ ๋ฟ๋ ค์ค๋ค.
3. ์ํ ์์ธ ํ์ด์ง๋ฅผ ๊ตฌํํ๋ค.
- ์์ธ ํ์ด์ง์์๋ ํด๋น ์ํ์ backdrop ์ด๋ฏธ์ง, poster, ์ํ ์ ๋ชฉ, ๊ฐ๋ด ๋ ์ง, ์ํ ์๊ฐ, ์ฅ๋ฅด, overview ํ ์คํธ ๋ฐ์ดํฐ๋ฅผ ๋ณด์ฌ์ค๋ค.
์ถ๊ฐ ์๊ตฌ์ฌํญ
1. ๋ฉ์ธ ํ๋ฉด ์คํฌ๋กค ํ, ์์ธํ์ด์ง๋ฅผ ๋ค๋ ์์ ๋, ๋ฉ์ธ ํ๋ฉด์์์ ์คํฌ๋กค ์์น ๊ธฐ์ตํ๊ธฐ
- ์คํฌ๋กค ์์น๋ฅผ ๊ธฐ์ตํจ์ผ๋ก์จ ๋ ์ข์ UX๋ฅผ ์ ๊ณตํ๋ค.
API ์ฌ์ฉ ๋ฐฉ๋ฒ
Movie List ๋ถ๋ฌ์ค๊ธฐ
- API ๋ฌธ์ : https://developers.themoviedb.org/3/movies/get-upcoming
- API : https://api.themoviedb.org/3/movie/upcoming?api_key=9c75b9a50b9510e81c6bc16c1a41517c&language=en-US&page=1
- ์๋ Json Data์์, "page", "results"์ "poster_path", "release_date", "title" ๋ฐ์ดํฐ๋ฅผ ํ์ฉํฉ๋๋ค.
Query String
{
api_key(requirement) : ์ ๊ฐ์ธ API Key ๋ฐ๊ธ๋ฐ์ ๋ฃ์์ต๋๋ค
language(Optional) : ์ ๊ฒฝ์ฐ์ง ์์๋ ๋ฉ๋๋ค
reigion(Optional) : ์ ๊ฒฝ์ฐ์ง ์์๋ ๋ฉ๋๋ค
page(Optional) : ํ์ด์ง ๋๋ฒ์
๋๋ค. infinity scroll ๊ตฌํ์ ์ํด ํ์ํฉ๋๋ค.
}Json Data
{
{
"page": 1,
"results": [
{
"poster_path": ํฌ์คํฐ ์ฃผ์(string)
"adult": ์ฑ์ธ๋ฌผ ์ฌ๋ถ(boolean)
"overview": ํ์ค ์์ฝ(string)
"release_date": ์ํ ๋ฆด๋ฆฌ์ฆ ๋ ์ง(string)
"genre_ids": ์ฅ๋ฅด id ์ซ์ ๋ฐฐ์ด(number[])
"id": ์์ด๋(number)
"original_title": ์ํ ์ค๋ฆฌ์ง๋ ํ์ดํ(string)
"original_language": ์ธ์ด(string)
**"title": ์ํ ํ์ดํ(string)**
"backdrop_path": ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง ์ฃผ์(string)
"popularity": ์ธ๊ธฐ๋ (number)
"vote_count": ํฌํ์ (number)
"video": ๋ฏธ๋ฆฌ๋ณด๊ธฐ ๋น๋์ค๊ฐ ์๋๊ฐ ์ฌ๋ถ(boolean)
"vote_average": ํฌํ ํ๊ท (number)
},
...
]
}
}Movie Detail ๋ฐ์ดํฐ ๋ถ๋ฌ์ค๊ธฐ
- API ๋ฌธ์ : https://developers.themoviedb.org/3/movies/get-movie-details
- API : https://api.themoviedb.org/3/movie/{movie_id}?api_key=9c75b9a50b9510e81c6bc16c1a41517c&language=en-US
- {movie_id}๋ฅผ path param์ผ๋ก ๋ฐ์ต๋๋ค.
- {movie_id}์ ์๋ฌด ์ซ์๋ ๋ฃ์ผ๋ฉด ์ผ๋จ API ๋ถ๋ฌ์์ง๋๋ค.
- ์๋ Json Data์์, "backdrop_path", "genres", "overview", "poster_path", "release_date", "runtime", "title" ๋ฐ์ดํฐ๋ฅผ ํ์ฉํฉ๋๋ค.
Query String
{
api_key(requirement) : ์ ๊ฐ์ธ API Key ๋ฐ๊ธ๋ฐ์ ๋ฃ์์ต๋๋ค
language(Optional) : ์ ๊ฒฝ์ฐ์ง ์์๋ ๋ฉ๋๋ค
append_to_response(Optional) : ์ ํํ ๋ชจ๋ฅด๊ฒ ์ผ๋.. ์ ๊ฒฝ์ฐ์ง ์์๋ ๋ฉ๋๋ค
}Json Data
{
{
"adult": false,
"backdrop_path": "/8HqSxB9VLJkbRXRdlocbLq9wxwY.jpg",
"belongs_to_collection": {
"id": 141290,
"name": "The Lord of the Rings Animated Collection",
"poster_path": "/pQuazFOlGRdn2Lb3oWFJYPeASOc.jpg",
"backdrop_path": "/uUG532EWfyhtKDzsA0sLb1PsHhL.jpg"
},
"budget": 4000000,
"genres": [
{
"id": 12,
"name": "Adventure"
},
{
"id": 16,
"name": "Animation"
},
{
"id": 18,
"name": "Drama"
},
{
"id": 14,
"name": "Fantasy"
},
{
"id": 10751,
"name": "Family"
}
],
"homepage": null,
"id": 123,
"imdb_id": "tt0077869",
"original_language": "en",
"original_title": "The Lord of the Rings",
"overview": "The Fellowship of the Ring embark on a journey to destroy the One Ring and end Sauron's reign over Middle-earth.",
"popularity": 13.134,
"poster_path": "/1l3WpoF7TX9pOprX4XepCXjQXUV.jpg",
"production_companies": [
{
"id": 60,
"logo_path": "/oJXpAs4I3W46e4dkaOEzCa4yBko.png",
"name": "United Artists",
"origin_country": "US"
},
{
"id": 286,
"logo_path": null,
"name": "Fantasy Films",
"origin_country": ""
}
],
"production_countries": [
{
"iso_3166_1": "US",
"name": "United States of America"
}
],
"release_date": "1978-11-15",
"revenue": 30471420,
"runtime": 132,
"spoken_languages": [
{
"iso_639_1": "en",
"name": "English"
}
],
"status": "Released",
"tagline": "Fantasy...beyond your imagination",
"title": "The Lord of the Rings",
"video": false,
"vote_average": 6.5,
"vote_count": 391
}
}๐จโ๐ป Reviewer Match ๐ฉโ๐ป
@eastjun
@YongHoonJJo
@StellaKim1230
@ganeodolu
@s280493
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
missionImprovements or additions to documentationImprovements or additions to documentation

