go-mstdn/README.md

39 lines
1.1 KiB
Markdown
Raw Normal View History

2023-09-26 02:00:14 +00:00
# go-mstdn
Package **mstdn** provides tools for working with the **Mastodon API**, which is becoming the (defacto) stand client-server API for the **Fediverse**.
Note that the **Mastodon API** is not (yet) officially part of **ActivityPub**.
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-mstdn
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-mstdn?status.svg)](https://godoc.org/sourcecode.social/reiver/go-mstdn)
2023-09-26 19:35:39 +00:00
## Import
To import package **mstdn** use `import` code like the follownig:
```
import "sourcecode.social/reiver/go-mstdn"
```
To import the Mastodon API **entities** use `import` code like the following:
```
import "sourcecode.social/reiver/go-mstdn/ent"
```
To import the Mastodon API **entities** for **administrators** use `import` code like the following:
```
import "sourcecode.social/reiver/go-mstdn/ent/admn"
```
## Installation
To install package **mstdn** do the following:
```
2023-10-27 18:33:30 +00:00
GOPROXY=direct go get https://sourcecode.social/reiver/go-mstdn
2023-09-26 19:35:39 +00:00
```
2023-09-26 19:36:38 +00:00
## Author
Package **mstdn** was written by [Charles Iliya Krempeaux](http://changelog.ca)