endpoints/systems

Types

pub type GetConstructionSiteResponse {
  GetConstructionSiteResponse(
    construction: construction.Construction,
  )
}

Constructors

pub type GetJumpGateResponse {
  GetJumpGateResponse(jump_gate: jump_gate.JumpGate)
}

Constructors

pub type GetMarketResponse {
  GetMarketResponse(market: market.Market)
}

Constructors

pub type GetShipyardResponse {
  GetShipyardResponse(shipyard: shipyard.Shipyard)
}

Constructors

pub type GetSystemResponse {
  GetSystemResponse(system: system.System)
}

Constructors

pub type GetWaypointResponse {
  GetWaypointResponse(waypoint: waypoint.Waypoint)
}

Constructors

pub type ListSystemWaypointsResponse {
  ListSystemWaypointsResponse(waypoints: List(waypoint.Waypoint))
}

Constructors

pub type ListSystemsResponse {
  ListSystemsResponse(systems: List(system.System))
}

Constructors

pub type SupplyConstructionSiteResponse {
  SupplyConstructionSiteResponse(
    construction: construction.Construction,
    cargo: ship_cargo.ShipCargo,
  )
}

Constructors

Values

pub fn get_jump_gate(
  token: auth.AgentToken,
  system_symbol: system_symbol.SystemSymbol,
  waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetJumpGateResponse, api.ApiError)
pub fn get_market(
  token: auth.AgentToken,
  system_symbol: system_symbol.SystemSymbol,
  waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetMarketResponse, api.ApiError)
pub fn get_shipyard(
  token: auth.AgentToken,
  system_symbol: String,
  waypoint_symbol: String,
) -> Result(GetShipyardResponse, api.ApiError)
pub fn get_system(
  token: auth.AgentToken,
  system_symbol: system_symbol.SystemSymbol,
) -> Result(GetSystemResponse, api.ApiError)
pub fn get_waypoint(
  token: auth.AgentToken,
  system_symbol: system_symbol.SystemSymbol,
  waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetWaypointResponse, api.ApiError)
pub fn list_systems(
  token: auth.AgentToken,
  page: option.Option(Int),
  limit: option.Option(Int),
) -> Result(api.PagedData(ListSystemsResponse), api.ApiError)
pub fn supply_construction_site(
  token: auth.AgentToken,
  system_symbol: system_symbol.SystemSymbol,
  waypoint_symbol: waypoint_symbol.WaypointSymbol,
  ship_symbol: ship_symbol.ShipSymbol,
  trade_symbol: trade_symbol.TradeSymbol,
  units: Int,
) -> Result(SupplyConstructionSiteResponse, api.ApiError)
Search Document