Gleam bindings to the Mastodon, Pleroma, and Misskey APIs
Find a file
2024-10-22 19:43:35 -03:00
.vscode prototype 2024-10-22 18:33:44 -03:00
examples/info instance.get_instance -> instance.get 2024-10-22 19:00:31 -03:00
src instance.get_instance -> instance.get 2024-10-22 19:00:31 -03:00
.gitignore prototype 2024-10-22 18:33:44 -03:00
gleam.toml remove tests for now 2024-10-22 19:05:56 -03:00
manifest.toml remove tests for now 2024-10-22 19:05:56 -03:00
README.md README 2024-10-22 19:43:35 -03:00

apkallone

Package Version Hex Docs

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.