A Gleam SDK for the spacetraders.io game API
Find a file
Lily Rose e34dcfdb93
Some checks failed
test / test (push) Has been cancelled
Add deprecation info to readme
2025-07-09 20:13:05 +10:00
.github/workflows Initial commit 2025-06-12 21:17:27 +10:00
src Update date and time of day function names to iso8601 instead of rfc3339 2025-07-08 20:30:55 +10:00
test Switch from dot_env to envoy 2025-07-08 16:06:26 +10:00
.gitignore Add functioning sdk 2025-06-17 01:43:06 +10:00
gleam.toml Bump version to 1.6.1 2025-07-08 20:31:06 +10:00
LICENSE.md Initial commit 2025-06-12 21:17:27 +10:00
manifest.toml Switch from dot_env to envoy 2025-07-08 16:06:26 +10:00
README.md Add deprecation info to readme 2025-07-09 20:13:05 +10:00
spacetraders.openapi.json More package restructuring 2025-06-18 19:44:38 +10:00

spacetraders_sdk

Package Version Hex Docs

IMPORTANT: Replaced by spacetraders_models and spacetraders_api

gleam add spacetraders_sdk@1
import spacetraders_api

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

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

Development

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