Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 1.93 KB

README.md

File metadata and controls

76 lines (48 loc) · 1.93 KB

Factions

(Factions)

Overview

Factions

Available Operations

GetFactions

Return a paginated list of all the factions in the game.

Example Usage

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
}

Parameters

Parameter Type Required Description
Page long What entry offset to request
Limit long How many entries to return per page

Response

GetFactionsResponse

GetFaction

View the details of a faction.

Example Usage

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
}

Parameters

Parameter Type Required Description Example
FactionSymbol string ✔️ The faction symbol COSMIC

Response

GetFactionResponse