Is there a way to get the “Watch Later” playlist using YouTube API v3?

混江龙づ霸主 提交于 2019-11-30 12:53:06

Update

As of Sep 12 2016, watch later and watch history can no longer be retrieved YouTube Data API v3.

Original answer (no longer works)

You can get the IDs of you special private playlists with an authenticated request to

GET https://www.googleapis.com/youtube/v3/channels?part=contentDetails&mine=true&key={YOUR_API_KEY}

One of these is your watchLater playlist. Note the playlist id and use it in another authenticated request to get a list of all items on your watchLater list:

GET https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId={YOUR_PLAYLIST_ID}&key={YOUR_API_KEY}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!