All URIs are relative to https://esi.evetech.net
Method | HTTP request | Description |
---|---|---|
GetAlliances | GET /v1/alliances/ | List all alliances |
GetAlliancesAllianceId | GET /v3/alliances/{alliance_id}/ | Get alliance information |
GetAlliancesAllianceIdCorporations | GET /v1/alliances/{alliance_id}/corporations/ | List alliance's corporations |
GetAlliancesAllianceIdIcons | GET /v1/alliances/{alliance_id}/icons/ | Get alliance icon |
List<int?> GetAlliances (string datasource = null, string ifNoneMatch = null)
List all alliances
List all active player alliances - -- This route is cached for up to 3600 seconds
using System;
using System.Diagnostics;
using ESIClient.Dotcore.Api;
using ESIClient.Dotcore.Client;
using ESIClient.Dotcore.Model;
namespace Example
{
public class GetAlliancesExample
{
public void main()
{
var apiInstance = new AllianceApi();
var datasource = datasource_example; // string | The server name you would like data from (optional) (default to tranquility)
var ifNoneMatch = ifNoneMatch_example; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
try
{
// List all alliances
List<int?> result = apiInstance.GetAlliances(datasource, ifNoneMatch);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AllianceApi.GetAlliances: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
ifNoneMatch | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
List<int?>
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAlliancesAllianceIdOk GetAlliancesAllianceId (int? allianceId, string datasource = null, string ifNoneMatch = null)
Get alliance information
Public information about an alliance - -- This route is cached for up to 3600 seconds
using System;
using System.Diagnostics;
using ESIClient.Dotcore.Api;
using ESIClient.Dotcore.Client;
using ESIClient.Dotcore.Model;
namespace Example
{
public class GetAlliancesAllianceIdExample
{
public void main()
{
var apiInstance = new AllianceApi();
var allianceId = 56; // int? | An EVE alliance ID
var datasource = datasource_example; // string | The server name you would like data from (optional) (default to tranquility)
var ifNoneMatch = ifNoneMatch_example; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
try
{
// Get alliance information
GetAlliancesAllianceIdOk result = apiInstance.GetAlliancesAllianceId(allianceId, datasource, ifNoneMatch);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AllianceApi.GetAlliancesAllianceId: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
allianceId | int? | An EVE alliance ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
ifNoneMatch | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List<int?> GetAlliancesAllianceIdCorporations (int? allianceId, string datasource = null, string ifNoneMatch = null)
List alliance's corporations
List all current member corporations of an alliance - -- This route is cached for up to 3600 seconds
using System;
using System.Diagnostics;
using ESIClient.Dotcore.Api;
using ESIClient.Dotcore.Client;
using ESIClient.Dotcore.Model;
namespace Example
{
public class GetAlliancesAllianceIdCorporationsExample
{
public void main()
{
var apiInstance = new AllianceApi();
var allianceId = 56; // int? | An EVE alliance ID
var datasource = datasource_example; // string | The server name you would like data from (optional) (default to tranquility)
var ifNoneMatch = ifNoneMatch_example; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
try
{
// List alliance's corporations
List<int?> result = apiInstance.GetAlliancesAllianceIdCorporations(allianceId, datasource, ifNoneMatch);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AllianceApi.GetAlliancesAllianceIdCorporations: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
allianceId | int? | An EVE alliance ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
ifNoneMatch | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
List<int?>
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAlliancesAllianceIdIconsOk GetAlliancesAllianceIdIcons (int? allianceId, string datasource = null, string ifNoneMatch = null)
Get alliance icon
Get the icon urls for a alliance - -- This route expires daily at 11:05 - -- Diff of the upcoming changes
using System;
using System.Diagnostics;
using ESIClient.Dotcore.Api;
using ESIClient.Dotcore.Client;
using ESIClient.Dotcore.Model;
namespace Example
{
public class GetAlliancesAllianceIdIconsExample
{
public void main()
{
var apiInstance = new AllianceApi();
var allianceId = 56; // int? | An EVE alliance ID
var datasource = datasource_example; // string | The server name you would like data from (optional) (default to tranquility)
var ifNoneMatch = ifNoneMatch_example; // string | ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
try
{
// Get alliance icon
GetAlliancesAllianceIdIconsOk result = apiInstance.GetAlliancesAllianceIdIcons(allianceId, datasource, ifNoneMatch);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AllianceApi.GetAlliancesAllianceIdIcons: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
allianceId | int? | An EVE alliance ID | |
datasource | string | The server name you would like data from | [optional] [default to tranquility] |
ifNoneMatch | string | ETag from a previous request. A 304 will be returned if this matches the current ETag | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]