All URIs are relative to https://esi.evetech.net
Method | HTTP request | Description |
---|---|---|
GetCharactersCharacterIdLoyaltyPoints | GET /v1/characters/{character_id}/loyalty/points/ | Get loyalty points |
GetLoyaltyStoresCorporationIdOffers | GET /v1/loyalty/stores/{corporation_id}/offers/ | List loyalty store offers |
List GetCharactersCharacterIdLoyaltyPoints (int? characterId, string datasource = null, string ifNoneMatch = null, string token = null)
Get loyalty points
Return a list of loyalty points for all corporations the character has worked for - -- 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 GetCharactersCharacterIdLoyaltyPointsExample { public void main() { // Configure OAuth2 access token for authorization: evesso Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN"; var apiInstance = new LoyaltyApi(); var characterId = 56; // int? | An EVE character 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) var token = token_example; // string | Access token to use if unable to set a header (optional) try { // Get loyalty points List<Object> result = apiInstance.GetCharactersCharacterIdLoyaltyPoints(characterId, datasource, ifNoneMatch, token); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling LoyaltyApi.GetCharactersCharacterIdLoyaltyPoints: " + e.Message ); } } } }
Name Type Description Notes characterId int? An EVE character 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] token string Access token to use if unable to set a header [optional] List
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List GetLoyaltyStoresCorporationIdOffers (int? corporationId, string datasource = null, string ifNoneMatch = null)
List loyalty store offers
Return a list of offers from a specific corporation's loyalty store - -- This route expires daily at 11:05
using System; using System.Diagnostics; using ESIClient.Dotcore.Api; using ESIClient.Dotcore.Client; using ESIClient.Dotcore.Model; namespace Example { public class GetLoyaltyStoresCorporationIdOffersExample { public void main() { var apiInstance = new LoyaltyApi(); var corporationId = 56; // int? | An EVE corporation 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 loyalty store offers List<Object> result = apiInstance.GetLoyaltyStoresCorporationIdOffers(corporationId, datasource, ifNoneMatch); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling LoyaltyApi.GetLoyaltyStoresCorporationIdOffers: " + e.Message ); } } } }
Name Type Description Notes corporationId int? An EVE corporation 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
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]