개발일지/Web
[Dev] 유튜브 API - 검색 결과 가져오기
zineeworld
2016. 7. 24. 16:50
반응형
요구사항
- 유튜브에서 검색 결과를 가져온다.
- q = '아티스트명(artist name) offical' (ex. 밴드코로나)
- order = viewCOunt
- type = video
- vedioDefinition = high
- 왼쪽에 1개의 동영상을 플레이어로 출력한다.
- 오른쪽에 10개의 비디오를 리스트 형식으로 출력한다.
See the Pen Youtube Search Example by Hyejin Oh (@mmt-zinee) on CodePen.
참고
- iframe API
- https://developers.google.com/youtube/iframe_api_reference?hl=ko
- https://developers.google.com/youtube/player_parameters?playerVersion=HTML5&hl=ko#Parameters
- Data API v3 > Search
- https://developers.google.com/youtube/v3/docs/search/list?hl=ko
- Best practices for securely using API keys
- https://support.google.com/cloud/answer/6310037
반응형