Gleam functions for interacting with the spacetraders.io game API using gleam_httpc
Find a file
Lily Rose fe9f14c60d
Some checks are pending
test / test (push) Waiting to run
Bump version to v1.1.0
2025-07-09 16:54:05 +10:00
.github/workflows Initial commit 2025-07-09 03:10:43 +10:00
src Initial commit 2025-07-09 03:10:43 +10:00
test Initial commit 2025-07-09 03:10:43 +10:00
.gitignore Initial commit 2025-07-09 03:10:43 +10:00
gleam.toml Bump version to v1.1.0 2025-07-09 16:54:05 +10:00
LICENSE.md Initial commit 2025-07-09 03:10:43 +10:00
manifest.toml Update spacetraders api version to 1.1.0 2025-07-09 16:53:56 +10:00
README.md Initial commit 2025-07-09 03:10:43 +10:00

spacetraders_api_httpc

Package Version Hex Docs

gleam add spacetraders_api_httpc@1
import spacetraders_api_httpc

pub fn main() -> Nil {
  let assert Ok(server_status) = spacetraders_api_httpc.get_server_status()
  io.println(server_status.status)
}

Further documentation can be found at https://hexdocs.pm/spacetraders_api_httpc.

Development

gleam run   # Run the project
gleam test  # Run the tests