A Gleam SDK for the spacetraders.io game API
Find a file
LilyRose2798 2c607f64bc
Some checks are pending
test / test (push) Waiting to run
Fix supply chain endpoint
2025-06-18 13:04:55 +10:00
.github/workflows Initial commit 2025-06-12 21:17:27 +10:00
dev Update dependencies and remove oas_generator dev dependency 2025-06-18 12:26:10 +10:00
src Fix supply chain endpoint 2025-06-18 13:04:55 +10:00
test Fix supply chain endpoint 2025-06-18 13:04:55 +10:00
.gitignore Add functioning sdk 2025-06-17 01:43:06 +10:00
gleam.toml Bump version to 1.0.1 2025-06-18 12:26:42 +10:00
LICENSE.md Initial commit 2025-06-12 21:17:27 +10:00
manifest.toml Update dependencies and remove oas_generator dev dependency 2025-06-18 12:26:10 +10:00
README.md Add example usage to readme 2025-06-18 00:11:21 +10:00

spacetraders_sdk

Package Version Hex Docs

gleam add spacetraders_sdk@1
import spacetraders_sdk

pub fn main() -> Nil {
  let assert Ok(server_status) = get_server_status()
  echo server_status
  Nil
}

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

Development

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