(Factions)
Factions
- GetFactions - List Factions
- GetFaction - Get Faction
Return a paginated list of all the factions in the game.
using Openapi;
using Openapi.Models.Components;
using Openapi.Models.Requests;
var sdk = new SeUnitySDK();
using(var res = await sdk.Factions.GetFactionsAsync(
page: 112445,
limit: 467771))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
Page |
long | ➖ | What entry offset to request |
Limit |
long | ➖ | How many entries to return per page |
View the details of a faction.
using Openapi;
using Openapi.Models.Components;
using Openapi.Models.Requests;
var sdk = new SeUnitySDK(AgentToken: "<YOUR_BEARER_TOKEN_HERE>");
using(var res = await sdk.Factions.GetFactionAsync(factionSymbol: "COSMIC"))
{
// handle response
}
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FactionSymbol |
string | ✔️ | The faction symbol | COSMIC |