Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
nullx27 committed Jan 7, 2018
1 parent 95e84fb commit 0edceda
Show file tree
Hide file tree
Showing 799 changed files with 248,235 additions and 1,843 deletions.
460 changes: 238 additions & 222 deletions README.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
}
],
"require": {
"php": ">=5.4",
"php": ">=5.5",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*"
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^6.2"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
"satooshi/php-coveralls": "~1.0",
"phpunit/phpunit": "^4.8",
"squizlabs/php_codesniffer": "~2.6",
"friendsofphp/php-cs-fixer": "~1.12"
},
"autoload": {
"psr-4": { "nullx27\\ESI\\" : "src/" }
"psr-4": { "nullx27ESI\\" : "src/" }
},
"autoload-dev": {
"psr-4": { "nullx27\\ESI\\" : "test/" }
"psr-4": { "nullx27ESI\\" : "test/" }
}
}
68 changes: 44 additions & 24 deletions docs/Api/AllianceApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nullx27\ESI\AllianceApi
# nullx27ESI\AllianceApi

All URIs are relative to *https://esi.tech.ccp.is/latest*

Expand All @@ -16,20 +16,24 @@ Method | HTTP request | Description
List all alliances

List all active player alliances --- Alternate route: `/v1/alliances/` Alternate route: `/legacy/alliances/` Alternate route: `/dev/alliances/` --- This route is cached for up to 3600 seconds
List all active player alliances --- Alternate route: `/dev/alliances/` Alternate route: `/legacy/alliances/` Alternate route: `/v1/alliances/` --- This route is cached for up to 3600 seconds

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new nullx27\ESI\Api\AllianceApi();
$apiInstance = new nullx27ESI\Api\AllianceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$datasource = "tranquility"; // string | The server name you would like data from
$userAgent = "userAgent_example"; // string | Client identifier, takes precedence over headers
$xUserAgent = "xUserAgent_example"; // string | Client identifier, takes precedence over User-Agent

try {
$result = $api_instance->getAlliances($datasource, $userAgent, $xUserAgent);
$result = $apiInstance->getAlliances($datasource, $userAgent, $xUserAgent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AllianceApi->getAlliances: ', $e->getMessage(), PHP_EOL;
Expand Down Expand Up @@ -61,25 +65,29 @@ No authorization required
[[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)

# **getAlliancesAllianceId**
> \nullx27\ESI\Models\GetAlliancesAllianceIdOk getAlliancesAllianceId($allianceId, $datasource, $userAgent, $xUserAgent)
> \nullx27ESI\nullx27\ESI\Models\GetAlliancesAllianceIdOk getAlliancesAllianceId($allianceId, $datasource, $userAgent, $xUserAgent)
Get alliance information

Public information about an alliance --- Alternate route: `/v2/alliances/{alliance_id}/` --- This route is cached for up to 3600 seconds
Public information about an alliance --- Alternate route: `/dev/alliances/{alliance_id}/` Alternate route: `/v3/alliances/{alliance_id}/` --- This route is cached for up to 3600 seconds

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new nullx27\ESI\Api\AllianceApi();
$allianceId = 56; // int | An Eve alliance ID
$apiInstance = new nullx27ESI\Api\AllianceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$allianceId = 56; // int | An EVE alliance ID
$datasource = "tranquility"; // string | The server name you would like data from
$userAgent = "userAgent_example"; // string | Client identifier, takes precedence over headers
$xUserAgent = "xUserAgent_example"; // string | Client identifier, takes precedence over User-Agent

try {
$result = $api_instance->getAlliancesAllianceId($allianceId, $datasource, $userAgent, $xUserAgent);
$result = $apiInstance->getAlliancesAllianceId($allianceId, $datasource, $userAgent, $xUserAgent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AllianceApi->getAlliancesAllianceId: ', $e->getMessage(), PHP_EOL;
Expand All @@ -91,14 +99,14 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**allianceId** | **int**| An Eve alliance ID |
**allianceId** | **int**| An EVE alliance ID |
**datasource** | **string**| The server name you would like data from | [optional] [default to tranquility]
**userAgent** | **string**| Client identifier, takes precedence over headers | [optional]
**xUserAgent** | **string**| Client identifier, takes precedence over User-Agent | [optional]

### Return type

[**\nullx27\ESI\Models\GetAlliancesAllianceIdOk**](../Model/GetAlliancesAllianceIdOk.md)
[**\nullx27ESI\nullx27\ESI\Models\GetAlliancesAllianceIdOk**](../Model/GetAlliancesAllianceIdOk.md)

### Authorization

Expand All @@ -116,21 +124,25 @@ No authorization required
List alliance's corporations

List all current member corporations of an alliance --- Alternate route: `/v1/alliances/{alliance_id}/corporations/` Alternate route: `/legacy/alliances/{alliance_id}/corporations/` Alternate route: `/dev/alliances/{alliance_id}/corporations/` --- This route is cached for up to 3600 seconds
List all current member corporations of an alliance --- Alternate route: `/dev/alliances/{alliance_id}/corporations/` Alternate route: `/legacy/alliances/{alliance_id}/corporations/` Alternate route: `/v1/alliances/{alliance_id}/corporations/` --- This route is cached for up to 3600 seconds

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new nullx27\ESI\Api\AllianceApi();
$apiInstance = new nullx27ESI\Api\AllianceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$allianceId = 56; // int | An EVE alliance ID
$datasource = "tranquility"; // string | The server name you would like data from
$userAgent = "userAgent_example"; // string | Client identifier, takes precedence over headers
$xUserAgent = "xUserAgent_example"; // string | Client identifier, takes precedence over User-Agent

try {
$result = $api_instance->getAlliancesAllianceIdCorporations($allianceId, $datasource, $userAgent, $xUserAgent);
$result = $apiInstance->getAlliancesAllianceIdCorporations($allianceId, $datasource, $userAgent, $xUserAgent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AllianceApi->getAlliancesAllianceIdCorporations: ', $e->getMessage(), PHP_EOL;
Expand Down Expand Up @@ -163,25 +175,29 @@ No authorization required
[[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)

# **getAlliancesAllianceIdIcons**
> \nullx27\ESI\Models\GetAlliancesAllianceIdIconsOk getAlliancesAllianceIdIcons($allianceId, $datasource, $userAgent, $xUserAgent)
> \nullx27ESI\nullx27\ESI\Models\GetAlliancesAllianceIdIconsOk getAlliancesAllianceIdIcons($allianceId, $datasource, $userAgent, $xUserAgent)
Get alliance icon

Get the icon urls for a alliance --- Alternate route: `/v1/alliances/{alliance_id}/icons/` Alternate route: `/legacy/alliances/{alliance_id}/icons/` Alternate route: `/dev/alliances/{alliance_id}/icons/` --- This route is cached for up to 3600 seconds
Get the icon urls for a alliance --- Alternate route: `/dev/alliances/{alliance_id}/icons/` Alternate route: `/legacy/alliances/{alliance_id}/icons/` Alternate route: `/v1/alliances/{alliance_id}/icons/` --- This route is cached for up to 3600 seconds

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new nullx27\ESI\Api\AllianceApi();
$apiInstance = new nullx27ESI\Api\AllianceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$allianceId = 56; // int | An EVE alliance ID
$datasource = "tranquility"; // string | The server name you would like data from
$userAgent = "userAgent_example"; // string | Client identifier, takes precedence over headers
$xUserAgent = "xUserAgent_example"; // string | Client identifier, takes precedence over User-Agent

try {
$result = $api_instance->getAlliancesAllianceIdIcons($allianceId, $datasource, $userAgent, $xUserAgent);
$result = $apiInstance->getAlliancesAllianceIdIcons($allianceId, $datasource, $userAgent, $xUserAgent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AllianceApi->getAlliancesAllianceIdIcons: ', $e->getMessage(), PHP_EOL;
Expand All @@ -200,7 +216,7 @@ Name | Type | Description | Notes

### Return type

[**\nullx27\ESI\Models\GetAlliancesAllianceIdIconsOk**](../Model/GetAlliancesAllianceIdIconsOk.md)
[**\nullx27ESI\nullx27\ESI\Models\GetAlliancesAllianceIdIconsOk**](../Model/GetAlliancesAllianceIdIconsOk.md)

### Authorization

Expand All @@ -214,25 +230,29 @@ No authorization required
[[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)

# **getAlliancesNames**
> \nullx27\ESI\Models\GetAlliancesNames200Ok[] getAlliancesNames($allianceIds, $datasource, $userAgent, $xUserAgent)
> \nullx27ESI\nullx27\ESI\Models\GetAlliancesNames200Ok[] getAlliancesNames($allianceIds, $datasource, $userAgent, $xUserAgent)
Get alliance names

Resolve a set of alliance IDs to alliance names --- Alternate route: `/v1/alliances/names/` Alternate route: `/legacy/alliances/names/` Alternate route: `/dev/alliances/names/` --- This route is cached for up to 3600 seconds
Resolve a set of alliance IDs to alliance names --- Alternate route: `/dev/alliances/names/` Alternate route: `/v2/alliances/names/` --- This route is cached for up to 3600 seconds

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new nullx27\ESI\Api\AllianceApi();
$apiInstance = new nullx27ESI\Api\AllianceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$allianceIds = array(56); // int[] | A comma separated list of alliance IDs
$datasource = "tranquility"; // string | The server name you would like data from
$userAgent = "userAgent_example"; // string | Client identifier, takes precedence over headers
$xUserAgent = "xUserAgent_example"; // string | Client identifier, takes precedence over User-Agent

try {
$result = $api_instance->getAlliancesNames($allianceIds, $datasource, $userAgent, $xUserAgent);
$result = $apiInstance->getAlliancesNames($allianceIds, $datasource, $userAgent, $xUserAgent);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AllianceApi->getAlliancesNames: ', $e->getMessage(), PHP_EOL;
Expand All @@ -251,7 +271,7 @@ Name | Type | Description | Notes

### Return type

[**\nullx27\ESI\Models\GetAlliancesNames200Ok[]**](../Model/GetAlliancesNames200Ok.md)
[**\nullx27ESI\nullx27\ESI\Models\GetAlliancesNames200Ok[]**](../Model/GetAlliancesNames200Ok.md)

### Authorization

Expand Down
Loading

0 comments on commit 0edceda

Please sign in to comment.