https://github.com/4lch4/youtoob
An API to simplify getting data on a YouTube channel, such as their latest VOD, video, or short, from the YouTube API.
https://github.com/4lch4/youtoob
Last synced: 3 months ago
JSON representation
An API to simplify getting data on a YouTube channel, such as their latest VOD, video, or short, from the YouTube API.
- Host: GitHub
- URL: https://github.com/4lch4/youtoob
- Owner: 4lch4
- License: mit
- Created: 2024-06-21T07:45:26.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T21:42:53.000Z (11 months ago)
- Last Synced: 2025-02-26T17:52:57.937Z (3 months ago)
- Language: HTML
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YouToob
This repo is home to a small API, written in Go, that provides a simple way to retrieve the following data about a YouTube channel:
- The latest video published.
- `/:channelName/video`
- The latest short published.
- `/:channelName/short`
- The latest VOD published.
- `/:channelName/vod`
- The next upcoming livestream.
- `/:channelName/live`## Tech Stack
- [Go][0]
- [Gin][1]
- [Docker][2]
- [Axiom Logging][3]## To Do
- [ ] Add a `Dockerfile` to the project.
- [ ] While I love building a single executable, I'd much rather have a container that I can deploy instead.
- [ ] Add [support for Turso][4] to store some response data.
- [ ] Should help prevent quota/rate limit issues (if we ever run in to those) by limiting calls to the YouTube API.
- [ ] For example, the following bits of data should prove useful:
- [ ] The channel name -> channel ID mapping.
- [ ] The channel name/ID -> playlist ID(s) mapping.
- [ ] Add tests.
- [ ] Mostly for the experience of how to do this because I _really_ hate writing tests...[0]: https://go.dev
[1]: https://gin-gonic.com
[2]: https://www.docker.com
[3]: https://axiom.co
[4]: https://docs.turso.tech/sdk/go/quickstart