Golang library for the Mastodon API
madon
is a Go library to access the Mastondon REST API.
This implementation covers 100% of the current API, including the streaming API.
The madonctl console client uses this library exhaustively.
To install the library (Go >= v1.5 required):
go get github.com/McKael/madon
For minimal compatibility with Go modules support (in Go v1.11), it is recommended to use Go version 1.9+.
You can test it with my CLI tool:
go get github.com/McKael/madonctl
This section has not been written yet (PR welcome).
For now please check godoc and check the madonctl project implementation.
This API implementation was initially submitted as a PR for gondole.
The repository is actually a fork of my gondole branch so that history and credits are preserved.
- madonctl (console client based on madon)
- Mastodon API documentation
- Mastodon Streaming API documentation
- Mastodon repository