1.3 KiB
1.3 KiB
apkallone
Bindings to the Mastodon, Pleroma, and Misskey APIs.
gleam add apkallone@0
import apkallone
import apkallone/mastodon/instance
pub fn main() {
let assert Ok(instance_info) =
apkallone.Client("https://tech.lgbt")
|> instance.get
io.debug(instance_info)
}
Further documentation can be found at https://hexdocs.pm/apkallone.
API documentation can be found at the official dev pages for Mastodon, Pleroma, and Misskey.
Development
This library is in development. Most functionality is unimplemented.
Currently only the Erlang target is supported, for lack of a target-agnostic HTTP client.
Planned features
- Authenticated requests.
- User-provided HTTP client.
- The full Mastodon API.
- The full Pleroma/Akkoma API.
- The full Misskey/IceShrimp/Sharkey API.