-
유튜브 클론코딩(1)기타 2023. 3. 23. 16:10
유튜브의 API를 이용해서 유튜브의 메인 화면을 만들어 보자.
1. API로 부터 필요한 정보 가져오기.
- useEffect와 useState를 이용해서 간단하게 최신 인기 영상의 썸네일과 제목을 가져왔다.
** 현재 불러온 API에서는 필요한 정보가 모두 있지는 않다. 다만 영상들의 id 값을 가지고 있으니
필요한 API를 찾아서 해당 id 값과 일치하는 데이터들을 추출해서 필요한 정보를 얻어보자.
'기타' 카테고리의 다른 글
controller 미 설정 ( HTTP 상태 404 ) (0) 2023.04.05 eclipse , github 연결 (0) 2023.04.03 유튜브 API (메모용) (0) 2023.03.22 git hub [ CRLF , LF ] 오류 (0) 2023.03.20 method 와 function (0) 2023.03.17