author | convert-repo |
Fri, 05 May 2017 21:55:08 +0000 | |
changeset 176 | 61cc08974a28 |
parent 146 | e78f5b584c9a |
child 224 | 60b1d842275a |
permissions | -rw-r--r-- |
137 | 1 |
# madon |
2 | 2 |
|
137 | 3 |
Golang library for the Mastodon API |
2 | 4 |
|
137 | 5 |
[![godoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/McKael/madon) |
6 |
[![license](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/McKael/madon/master/LICENSE) |
|
7 |
[![build](https://img.shields.io/travis/McKael/madon.svg?style=flat)](https://travis-ci.org/McKael/madon) |
|
8 |
[![Go Report Card](https://goreportcard.com/badge/github.com/McKael/madon)](https://goreportcard.com/report/github.com/McKael/madon) |
|
2 | 9 |
|
137 | 10 |
`madon` is a [Go](https://golang.org/) library to access the Mastondon REST API. |
2 | 11 |
|
144 | 12 |
This implementation covers 100% of the current API, including the streaming API. |
13 |
||
14 |
The [madonctl](https://github.com/McKael/madonctl) console client uses this library exhaustively. |
|
15 |
||
2 | 16 |
## Installation |
17 |
||
146
e78f5b584c9a
Add a note about required Go version
Mikael Berthe <mikael@lilotux.net>
parents:
144
diff
changeset
|
18 |
To install the library (Go >= v1.5 required): |
137 | 19 |
|
20 |
go get github.com/McKael/madon |
|
2 | 21 |
|
137 | 22 |
You can test it with my CLI tool: |
23 |
||
24 |
go get github.com/McKael/madonctl |
|
25 |
||
26 |
## Usage |
|
2 | 27 |
|
137 | 28 |
This section has not been written yet (PR welcome). |
3 | 29 |
|
137 | 30 |
For now please check [godoc](https://godoc.org/github.com/McKael/madon) and |
141 | 31 |
check the [madonctl](https://github.com/McKael/madonctl) project |
137 | 32 |
implementation. |
32
c28f7e417146
Point to configuration files.
Ollivier Robert <roberto@keltia.net>
parents:
11
diff
changeset
|
33 |
|
137 | 34 |
## History |
32
c28f7e417146
Point to configuration files.
Ollivier Robert <roberto@keltia.net>
parents:
11
diff
changeset
|
35 |
|
139 | 36 |
This API implementation was initially submitted as a PR for gondole. |
3 | 37 |
|
139 | 38 |
The repository is actually a fork of my gondole branch so that |
39 |
history and credits are preserved. |
|
3 | 40 |
|
6 | 41 |
## References |
42 |
||
144 | 43 |
- [madonctl](https://github.com/McKael/madonctl) (console client based on madon) |
137 | 44 |
- [Mastodon API documentation](https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md) |
45 |
- [Mastodon Streaming API documentation](https://github.com/tootsuite/documentation/blob/master/Using-the-API/Streaming-API.md) |
|
46 |
- [Mastodon repository](https://github.com/tootsuite/mastodon) |