Youtueb API

Published: by

Youtube

EndPoint

GET https://www.googleapis.com/youtube/v3/search

Example

요청

https://www.googleapis.com/youtube/v3/search?part=snippet&q=음악&type=video&key=xxxx

결과

{
    "kind": "youtube#searchListResponse",
    "etag": "\"XI7nbFXulYBIpL0ayR_gDh3eu1k/3KkxyRtjNl94wAd2_yUCYySFEM0\"",
    "nextPageToken": "CA8QAA",
    "prevPageToken": "CAoQAQ",
    "regionCode": "KR",
    "pageInfo": {
        "totalResults": 1000000,
        "resultsPerPage": 5
    },
    "items": [...]
}

items에 개발자가 원하는 정보가 들어있다.

참고

Search:list