All URIs are relative to https://api.spacetraders.io/v2
Method | HTTP request | Description |
---|---|---|
get_faction | GET /factions/{factionSymbol} | Get Faction |
get_factions | GET /factions | List Factions |
crate::models::GetFaction200Response get_faction(faction_symbol) Get Faction
View the details of a faction.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
faction_symbol | String | The faction symbol | [required] |
crate::models::GetFaction200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetFactions200Response get_factions(page, limit) List Factions
Return a paginated list of all the factions in the game.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
page | Option<i32> | What entry offset to request | [default to 1] | |
limit | Option<i32> | How many entries to return per page | [default to 10] |
crate::models::GetFactions200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]