github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/docs/LoyaltyApi.md (about) 1 # \LoyaltyApi 2 3 All URIs are relative to *https://esi.evetech.net* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**GetCharactersCharacterIdLoyaltyPoints**](LoyaltyApi.md#GetCharactersCharacterIdLoyaltyPoints) | **Get** /v1/characters/{character_id}/loyalty/points/ | Get loyalty points 8 [**GetLoyaltyStoresCorporationIdOffers**](LoyaltyApi.md#GetLoyaltyStoresCorporationIdOffers) | **Get** /v1/loyalty/stores/{corporation_id}/offers/ | List loyalty store offers 9 10 11 # **GetCharactersCharacterIdLoyaltyPoints** 12 > []GetCharactersCharacterIdLoyaltyPoints200Ok GetCharactersCharacterIdLoyaltyPoints(ctx, characterId, optional) 13 Get loyalty points 14 15 Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds 16 17 ### Required Parameters 18 19 Name | Type | Description | Notes 20 ------------- | ------------- | ------------- | ------------- 21 **ctx** | **context.Context** | pass through context (authentication, logging, tracing) 22 **characterId** | **int32**| An EVE character ID | 23 **optional** | **map[string]interface{}** | optional parameters | nil if no parameters 24 25 ### Optional Parameters 26 Optional parameters are passed through a map[string]interface{}. 27 28 Name | Type | Description | Notes 29 ------------- | ------------- | ------------- | ------------- 30 **characterId** | **int32**| An EVE character ID | 31 **datasource** | **string**| The server name you would like data from | [default to tranquility] 32 **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 33 **token** | **string**| Access token to use if unable to set a header | 34 35 ### Return type 36 37 [**[]GetCharactersCharacterIdLoyaltyPoints200Ok**](get_characters_character_id_loyalty_points_200_ok.md) 38 39 ### Authorization 40 41 [evesso](../README.md#evesso) 42 43 ### HTTP request headers 44 45 - **Content-Type**: application/json 46 - **Accept**: application/json 47 48 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 49 50 # **GetLoyaltyStoresCorporationIdOffers** 51 > []GetLoyaltyStoresCorporationIdOffers200Ok GetLoyaltyStoresCorporationIdOffers(ctx, corporationId, optional) 52 List loyalty store offers 53 54 Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05 55 56 ### Required Parameters 57 58 Name | Type | Description | Notes 59 ------------- | ------------- | ------------- | ------------- 60 **ctx** | **context.Context** | pass through context (authentication, logging, tracing) 61 **corporationId** | **int32**| An EVE corporation ID | 62 **optional** | **map[string]interface{}** | optional parameters | nil if no parameters 63 64 ### Optional Parameters 65 Optional parameters are passed through a map[string]interface{}. 66 67 Name | Type | Description | Notes 68 ------------- | ------------- | ------------- | ------------- 69 **corporationId** | **int32**| An EVE corporation ID | 70 **datasource** | **string**| The server name you would like data from | [default to tranquility] 71 **ifNoneMatch** | **string**| ETag from a previous request. A 304 will be returned if this matches the current ETag | 72 73 ### Return type 74 75 [**[]GetLoyaltyStoresCorporationIdOffers200Ok**](get_loyalty_stores_corporation_id_offers_200_ok.md) 76 77 ### Authorization 78 79 No authorization required 80 81 ### HTTP request headers 82 83 - **Content-Type**: application/json 84 - **Accept**: application/json 85 86 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 87