go-mstdn/README.md

39 lines
1.1 KiB
Markdown
Raw Permalink 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/github.com/reiver/go-mstdn
2023-09-26 02:00:14 +00:00
[![GoDoc](https://godoc.org/github.com/reiver/go-mstdn?status.svg)](https://godoc.org/github.com/reiver/go-mstdn)
2023-09-26 19:35:39 +00:00
## Import
To import package **mstdn** use `import` code like the follownig:
```
import "github.com/reiver/go-mstdn"
2023-09-26 19:35:39 +00:00
```
To import the Mastodon API **entities** use `import` code like the following:
```
import "github.com/reiver/go-mstdn/ent"
2023-09-26 19:35:39 +00:00
```
To import the Mastodon API **entities** for **administrators** use `import` code like the following:
```
import "github.com/reiver/go-mstdn/ent/admn"
2023-09-26 19:35:39 +00:00
```
## Installation
To install package **mstdn** do the following:
```
GOPROXY=direct go get https://github.com/reiver/go-mstdn
2023-09-26 19:35:39 +00:00
```
2023-09-26 19:36:38 +00:00
## Author
2024-08-01 22:18:12 +00:00
Package **mstdn** was written by [Charles Iliya Krempeaux](http://reiver.link)