YouTube: Difference between revisions
From DiviFree
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Google Cloud Console== | |||
* https://console.cloud.google.com/ | |||
==YouTube API (exemple)== | ==YouTube API (exemple)== | ||
<pre> | |||
https://www.googleapis.com/youtube/v3/search?channelId={channelId}&maxResults=50 | |||
&pageToken={pageToken} | |||
&order=date | |||
&publishedAfter=1970-01-01T00:00:00Z | |||
</pre> | |||
<pre> | |||
https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics&id={videoId} | |||
</pre> | |||
<pre> | <pre> | ||
https://www.googleapis.com/youtube/v3/playlists?part=snippet&channelId=xxx&maxResults=50 | https://www.googleapis.com/youtube/v3/playlists?part=snippet&channelId=xxx&maxResults=50 | ||
</pre> | |||
<pre> | |||
https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PLAYLIST_ID&key=API_KEY | |||
</pre> | </pre> | ||
Latest revision as of 04:44, 15 March 2023
Google Cloud Console
YouTube API (exemple)
https://www.googleapis.com/youtube/v3/search?channelId={channelId}&maxResults=50
&pageToken={pageToken}
&order=date
&publishedAfter=1970-01-01T00:00:00Z
https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics&id={videoId}
https://www.googleapis.com/youtube/v3/playlists?part=snippet&channelId=xxx&maxResults=50
https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=PLAYLIST_ID&key=API_KEY
YouTube API
- Dashboard : https://console.cloud.google.com/apis/dashboard