YouTube API-Client to get all uploads from a channel
YTSharp COMMAND [OPTIONS]
Prefix | Type | Description | Remarks |
---|---|---|---|
-k | string | YouTube ApiKey | NEEDED |
-c | string | ChannelID | NEEDED |
-a | int | Max amount of videos to fetch (int or all) | GETS IGNORED IN PLAYLIST QUERY |
Command | Description |
---|---|
uploads | Returns the channels last [AMOUNT] videos |
playlists | Returns all the channels playlists with all their videos |
A json object with this template:
[{
"Name": "Title of the video",
"URL": "URL postfix of the video",
"CreationTime": "Upload time of the video",
"Description": "Description of the video"
}]
A json object with this template:
[{
"ID": "Playlist ID",
"Name": "Playlist title",
"Videos":
[{
"Name": "Title of the video",
"URL": "URL postfix of the video",
"CreationTime": "Upload time of the video",
"Description": "Description of the video"
}]
}]
The CreationTime timestamp format complies with ISO 8601.
Timezone is UTC