# ESIClient::ClonesApi All URIs are relative to *https://esi.tech.ccp.is* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_characters_character_id_clones**](ClonesApi.md#get_characters_character_id_clones) | **GET** /v3/characters/{character_id}/clones/ | Get clones [**get_characters_character_id_implants**](ClonesApi.md#get_characters_character_id_implants) | **GET** /v1/characters/{character_id}/implants/ | Get active implants # **get_characters_character_id_clones** > GetCharactersCharacterIdClonesOk get_characters_character_id_clones(character_id, opts) Get clones A list of the character's clones --- This route is cached for up to 120 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::ClonesApi.new character_id = 56 # Integer | An EVE character ID opts = { datasource: 'tranquility', # String | The server name you would like data from token: 'token_example', # String | Access token to use if unable to set a header user_agent: 'user_agent_example', # String | Client identifier, takes precedence over headers x_user_agent: 'x_user_agent_example' # String | Client identifier, takes precedence over User-Agent } begin #Get clones result = api_instance.get_characters_character_id_clones(character_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling ClonesApi->get_characters_character_id_clones: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **character_id** | **Integer**| An EVE character ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **token** | **String**| Access token to use if unable to set a header | [optional] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type [**GetCharactersCharacterIdClonesOk**](GetCharactersCharacterIdClonesOk.md) ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **get_characters_character_id_implants** > Array<Integer> get_characters_character_id_implants(character_id, opts) Get active implants Return implants on the active clone of a character --- This route is cached for up to 300 seconds ### Example ```ruby # load the gem require 'esi_client' # setup authorization ESIClient.configure do |config| # Configure OAuth2 access token for authorization: evesso config.access_token = 'YOUR ACCESS TOKEN' end api_instance = ESIClient::ClonesApi.new character_id = 56 # Integer | An EVE character ID opts = { datasource: 'tranquility', # String | The server name you would like data from token: 'token_example', # String | Access token to use if unable to set a header user_agent: 'user_agent_example', # String | Client identifier, takes precedence over headers x_user_agent: 'x_user_agent_example' # String | Client identifier, takes precedence over User-Agent } begin #Get active implants result = api_instance.get_characters_character_id_implants(character_id, opts) p result rescue ESIClient::ApiError => e puts "Exception when calling ClonesApi->get_characters_character_id_implants: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **character_id** | **Integer**| An EVE character ID | **datasource** | **String**| The server name you would like data from | [optional] [default to tranquility] **token** | **String**| Access token to use if unable to set a header | [optional] **user_agent** | **String**| Client identifier, takes precedence over headers | [optional] **x_user_agent** | **String**| Client identifier, takes precedence over User-Agent | [optional] ### Return type **Array<Integer>** ### Authorization [evesso](../README.md#evesso) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json