/
View dependency graph
Depends on
- dh-golang (dh-golang)
- golang-defaults (golang-any)
- golang-github-gorilla-websocket (golang-websocket-dev)
- golang-github-pkg-errors (golang-github-pkg-errors-dev)
- golang-github-sendgrid-rest (golang-github-sendgrid-rest-dev)
- golang-golang-x-net (golang-golang-x-net-dev)
- golang-golang-x-oauth2 (golang-golang-x-oauth2-google-dev)
- golang-testify (golang-github-stretchr-testify-dev)
- debhelper-compat
Used by
README (full)
madon
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.
Installation
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
Usage
This section has not been written yet (PR welcome).
For now please check godoc and check the madonctl project implementation.
History
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.
References
- madonctl (console client based on madon)
- Mastodon API documentation
- Mastodon Streaming API documentation
- Mastodon repository
| dir | debian/ |
| file | .gitignore |
| file | LICENSE |
| file | README.md |
| file | account.go |
| file | api.go |
| file | app.go |
| file | domain.go |
| file | emoji.go |
| file | endorsements.go |
| file | go.mod |
| file | go.sum |
| file | instance.go |
| file | lists.go |
| file | login.go |
| file | madon.go |
| file | madon_test.go |
| file | media.go |
| file | notifications.go |
| file | report.go |
| file | search.go |
| file | status.go |
| file | streams.go |
| file | suggestions.go |
| file | timelines.go |
| file | types.go |