YouTube: Difference between revisions

From DiviFree
(Created page with "==YouTube API== * Dashboard : https://console.cloud.google.com/apis/dashboard * Projet YouTube : https://console.cloud.google.com/welcome?project=youtube-379720&hl=fr * Doc : https://developers.google.com/youtube/v3?hl=fr")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Google Cloud Console==
* https://console.cloud.google.com/
==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>
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>
==YouTube API==
==YouTube API==


Line 4: Line 28:


* Projet YouTube : https://console.cloud.google.com/welcome?project=youtube-379720&hl=fr
* Projet YouTube : https://console.cloud.google.com/welcome?project=youtube-379720&hl=fr
* Doc API : https://developers-dot-devsite-v2-prod.appspot.com/youtube/v3/docs?hl=fr


* Doc : https://developers.google.com/youtube/v3?hl=fr
* Doc : https://developers.google.com/youtube/v3?hl=fr

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