Golang Mastodon API library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
account.go
api.go
app.go
domain.go
emoji.go
endorsements.go
go.mod
go.sum
instance.go
lists.go
login.go
madon.go
madon_test.go
media.go
notifications.go
report.go
search.go
status.go
streams.go
suggestions.go
timelines.go
types.go

README.md

madon

Golang library for the Mastodon API

godoc license build Go Report Card

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