youtube_playlist
Differences
This shows you the differences between two versions of the page.
| youtube_playlist [2023/01/29 19:29] – created ssm2017 | youtube_playlist [2023/01/29 20:17] (current) – ssm2017 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| import json | import json | ||
| - | channel_id = " | + | channel_id = "************" |
| - | api_key = "****************" | + | api_key = " |
| youtube = googleapiclient.discovery.build(" | youtube = googleapiclient.discovery.build(" | ||
| def getItemsByKey(playlist_id): | def getItemsByKey(playlist_id): | ||
| - | from googleapiclient.discovery import build | ||
| - | |||
| - | api_service_name = " | ||
| - | api_version = " | ||
| - | youtube = build(api_service_name, | ||
| request = youtube.playlistItems().list( | request = youtube.playlistItems().list( | ||
| part=" | part=" | ||
youtube_playlist.1675016974.txt.gz · Last modified: by ssm2017
