Important
This library is deprecated and archived in favor of its Rust successor.
A Go library for the undocumented Crunchyroll API. To use it, you need a Crunchyroll premium account for full (API) access.
If you're searching for the command line client, head over to crunchy-cli. This repo only contains the Golang Crunchyroll library!
Beginning with version v3, this project is set to maintenance mode (only small fixes, no new features) in favor of rewriting it completely in Rust. Go bindings for the finished Rust rewrite will be provided.
Download the library via go get
$ go get github.com/crunchy-labs/crunchyroll-go/v3
The documentation is available on pkg.go.dev.
As of 19.10.2022 Crunchyroll rolled out a breaking change for their website which makes some of the library functions unusable
Around 90% - 95% of the Crunchyroll API (at state of writing) are implemented. Only some endpoints on the home / index screen are missing. Since the library will be rewritten in Rust, we don't see any further use cases of implementing the missing endpoints in this project. They would be useless for 99% of the library usage anyway, unless you want to rebuild crunchyroll on top of it (or for whatever reason you want to implement home screen endpoints).
This project is licensed under the MIT License - see the LICENSE file for more details.