User Tools

Site Tools


random:youtubeapi

YouTube API

Generate your API key

Codes

Codesnippets

replace full {}

Get video metadata

Input:

https://www.googleapis.com/youtube/v3/videos?key={API_KEY}fields=items(snippet(title,description,tags))&part=snippet&id={VIDEO_ID}

Output:

{
 "items": [
  {
   "snippet": {
    "title": "Testvideo",
    "description": "blablabla",
    "tags": [
     "Lunetikk",
     "Xbox One X",
     "DPS Lunetikk"
    ]
   }
  }
 ]
}
random/youtubeapi.txt · Last modified: 2020/03/30 17:36 by lunetikk