Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a0u/youtilities
YouTube utilities
https://github.com/a0u/youtilities
Last synced: 20 days ago
JSON representation
YouTube utilities
- Host: GitHub
- URL: https://github.com/a0u/youtilities
- Owner: a0u
- License: other
- Created: 2020-06-07T17:07:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-07T18:40:24.000Z (over 4 years ago)
- Last Synced: 2024-11-01T02:42:33.398Z (2 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YouTilities
Command-line utilites to automate YouTube resources
* `bcast`: [live broadcast](https://developers.google.com/youtube/v3/live/docs/liveBroadcasts) controller
* `stream`: [live stream](https://developers.google.com/youtube/v3/live/docs/liveStreams) controller## Usage
```sh
$ ./bin/stream add test
xxxx-xxxx-xxxx-xxxx-xxxx
$ ./bin/bcast start "Test Title" xxxx-xxxx-xxxx-xxxx-xxxx
$ ./bin/bcast stop
$ ./bin/stream rm test
```Streams are reusable across multiple broadcasts.
## Credentials
Follow the [quickstart guide](https://developers.google.com/youtube/v3/quickstart/python)
to create an OAuth 2.0 client ID in the
[Google API console](https://console.developers.google.com/), and then
download the client secrets JSON file.
Its path must be specified with the `-S` option on the initial use of
the tools.By default, OAuth access and refresh tokens are cached at
`${XDG_CACHE_HOME}/youtube-remote.pickle`, typically
`${HOME}/.cache/youtube-remote.pickle`.
Once authorized, subsequent invocations can be non-interactive.