Skip to content

JulianusIV/YTSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YTSharp

YouTube API-Client to get all uploads from a channel

Usage

YTSharp COMMAND [OPTIONS]

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

Commands:

Command Description
uploads Returns the channels last [AMOUNT] videos
playlists Returns all the channels playlists with all their videos

Returns

Uploads

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"  
}]  

Playlists

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"  
	}]  
}]

Time format

The CreationTime timestamp format complies with ISO 8601.
Timezone is UTC

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages