nestjs-clone-bay docs
GitHub
GitHub
  • Introduction
  • Testing
  • API Reference

Class: CloneBayEsiApiService

Make authenticated ESI API requests.

Includes methods for GET, POST, PUT, and DELETE requests. The requests are authenticated. Upon failing due to an expired access token, they will automatically refresh the tokens and retry the failed request.

By default, the methods are limited to the ESI API URL and check that the given character is owned by the given user. These protections can be turned off in EsiApiRequestOptions.

See EsiApiRequestOptions for method param types.

Methods

delete

▸ delete<T>(options): Promise<AxiosResponse<T, any>>

Type parameters

Name
T

Parameters

NameType
optionsEsiApiRequestOptions

Returns

Promise<AxiosResponse<T, any>>

Defined in

lib/src/api/clone-bay-esi-api.service.ts:39


get

▸ get<T>(options): Promise<AxiosResponse<T, any>>

Type parameters

Name
T

Parameters

NameType
optionsEsiApiRequestOptions

Returns

Promise<AxiosResponse<T, any>>

Defined in

lib/src/api/clone-bay-esi-api.service.ts:27


post

▸ post<T>(options): Promise<AxiosResponse<T, any>>

Type parameters

Name
T

Parameters

NameType
optionsEsiApiRequestOptions

Returns

Promise<AxiosResponse<T, any>>

Defined in

lib/src/api/clone-bay-esi-api.service.ts:31


put

▸ put<T>(options): Promise<AxiosResponse<T, any>>

Type parameters

Name
T

Parameters

NameType
optionsEsiApiRequestOptions

Returns

Promise<AxiosResponse<T, any>>

Defined in

lib/src/api/clone-bay-esi-api.service.ts:35

Edit this page
Last Updated: