yt_cli 2.2.6+3
yt_cli: ^2.2.6+3 copied to clipboard
A command-line interface for YouTube.
Youtube REST API Client #
Native Dart interface to multiple Google REST APIs, including:
Table of Contents #
Youtube REST API cli (Youtube at the command prompt) #
A command line interface for broadcasting to Youtube through OBS
dart pub install #
To install using dart pub:
pub global activate yt
If the above shows an error like:
-bash: webdev: command not found
Then this section of the Dart SDK doc might fix the problem - running-a-script-from-your-path
Usage:
prompt>yt --help
A command line interface for connecting to Youtube
Usage: yt <command> [arguments]
Global options:
-h, --help Print this usage information.
--log-level [all, debug, info, warning, error, off (default)]
Available commands:
authorize Generate a refresh token used to authenticate the command line API requests
broadcast A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
captions A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
channels A channel resource contains information about a YouTube channel.
chat A liveChatMessage resource represents a chat message in a YouTube live chat. The resource can contain details about several types of messages, including a newly posted text message or fan funding event.
playlists A playlist resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. By default, playlists are publicly visible to other users, but playlists can be public or private.
search A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
stream A liveStream resource contains information about the video stream that you are transmitting to YouTube. The stream provides the content that will be broadcast to YouTube users. Once created, a liveStream resource can be bound to one or more liveBroadcast resources.
subscriptions A subscription resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.
thumbnails A thumbnail resource identifies different thumbnail image sizes associated with a resource.
version Display the package name and version.
video-categories A videoCategory resource identifies a category that has been or could be associated with uploaded videos.
videos A video resource represents a YouTube video.
watermarks A watermark resource identifies an image that displays during playbacks of a specified channel's videos.
API Commands Supported #
Data API #
- Captions
- Channels
- Comments (partial)
- PlaylistItems
- Playlists
- Search
- Thumbnails
- VideoCategories
- Videos
- Watermarks
Live Streaming API #
Custom Features (experimental) #
- download chat history from a LiveChat
- simple chatbot functionality for LiveChat
What's Next? #
- Expanded API Commands
Contributing #
Any help from the open-source community is always welcome and needed:
- Found an issue?
- Please fill a bug report with details.
- Need a feature?
- Open a feature request with use cases.
- Are you using and liking the project?
- Promote the project: create an article or post about it
- Make a donation
- Do you have a project that uses this package
- let's cross promote, let me know and I'll add a link to your project
- Are you a developer?
- Fix a bug and send a pull request.
- Implement a new feature.
- Improve the Unit Tests.
- Have you already helped in any way?
- Many thanks from me, the contributors and everybody that uses this project!
If you donate 1 hour of your time, you can contribute a lot, because others will do the same, just be part and start with your 1 hour.