swerrie/eveonline-esi

Swagger client for Eve Online

1.0 2017-05-08 21:18 UTC

This package is auto-updated.

Last update: 2019-03-01 01:24:55 UTC


README

An OpenAPI for EVE Online

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 0.4.4.dev4
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.4.0 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

composer require swerrie/eveonline-esi

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/SwaggerClient-php/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

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

$api_instance = new Swagger\Client\Api\AllianceApi();
$datasource = "tranquility"; // string | The server name you would like data from
$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

try {
    $result = $api_instance->getAlliances($datasource, $user_agent, $x_user_agent);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AllianceApi->getAlliances: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
AllianceApigetAlliancesGET /alliances/List all alliances
AllianceApigetAlliancesAllianceIdGET /alliances/{alliance_id}/Get alliance information
AllianceApigetAlliancesAllianceIdCorporationsGET /alliances/{alliance_id}/corporations/List alliance's corporations
AllianceApigetAlliancesAllianceIdIconsGET /alliances/{alliance_id}/icons/Get alliance icon
AllianceApigetAlliancesNamesGET /alliances/names/Get alliance names
AssetsApigetCharactersCharacterIdAssetsGET /characters/{character_id}/assets/Get character assets
BookmarksApigetCharactersCharacterIdBookmarksGET /characters/{character_id}/bookmarks/List bookmarks
BookmarksApigetCharactersCharacterIdBookmarksFoldersGET /characters/{character_id}/bookmarks/folders/List bookmark folders
CalendarApigetCharactersCharacterIdCalendarGET /characters/{character_id}/calendar/List calendar event summaries
CalendarApigetCharactersCharacterIdCalendarEventIdGET /characters/{character_id}/calendar/{event_id}/Get an event
CalendarApiputCharactersCharacterIdCalendarEventIdPUT /characters/{character_id}/calendar/{event_id}/Respond to an event
CharacterApigetCharactersCharacterIdGET /characters/{character_id}/Get character's public information
CharacterApigetCharactersCharacterIdAgentsResearchGET /characters/{character_id}/agents_research/Get agents research
CharacterApigetCharactersCharacterIdChatChannelsGET /characters/{character_id}/chat_channels/Get chat channels
CharacterApigetCharactersCharacterIdCorporationhistoryGET /characters/{character_id}/corporationhistory/Get corporation history
CharacterApigetCharactersCharacterIdMedalsGET /characters/{character_id}/medals/Get medals
CharacterApigetCharactersCharacterIdPortraitGET /characters/{character_id}/portrait/Get character portraits
CharacterApigetCharactersCharacterIdStandingsGET /characters/{character_id}/standings/Get standings
CharacterApigetCharactersNamesGET /characters/names/Get character names
CharacterApipostCharactersAffiliationPOST /characters/affiliation/Character affiliation
CharacterApipostCharactersCharacterIdCspaPOST /characters/{character_id}/cspa/Calculate a CSPA charge cost
ClonesApigetCharactersCharacterIdClonesGET /characters/{character_id}/clones/Get clones
ContactsApideleteCharactersCharacterIdContactsDELETE /characters/{character_id}/contacts/Delete contacts
ContactsApigetCharactersCharacterIdContactsGET /characters/{character_id}/contacts/Get contacts
ContactsApigetCharactersCharacterIdContactsLabelsGET /characters/{character_id}/contacts/labels/Get contact labels
ContactsApipostCharactersCharacterIdContactsPOST /characters/{character_id}/contacts/Add contacts
ContactsApiputCharactersCharacterIdContactsPUT /characters/{character_id}/contacts/Edit contacts
CorporationApigetCorporationsCorporationIdGET /corporations/{corporation_id}/Get corporation information
CorporationApigetCorporationsCorporationIdAlliancehistoryGET /corporations/{corporation_id}/alliancehistory/Get alliance history
CorporationApigetCorporationsCorporationIdIconsGET /corporations/{corporation_id}/icons/Get corporation icon
CorporationApigetCorporationsCorporationIdMembersGET /corporations/{corporation_id}/members/Get corporation members
CorporationApigetCorporationsCorporationIdRolesGET /corporations/{corporation_id}/roles/Get corporation member roles
CorporationApigetCorporationsCorporationIdStructuresGET /corporations/{corporation_id}/structures/Get corporation structures
CorporationApigetCorporationsNamesGET /corporations/names/Get corporation names
CorporationApigetCorporationsNpccorpsGET /corporations/npccorps/Get npc corporations
CorporationApiputCorporationsCorporationIdStructuresStructureIdPUT /corporations/{corporation_id}/structures/{structure_id}/Update structure vulnerability schedule
DogmaApigetDogmaAttributesGET /dogma/attributes/Get attributes
DogmaApigetDogmaAttributesAttributeIdGET /dogma/attributes/{attribute_id}/Get attribute information
DogmaApigetDogmaEffectsGET /dogma/effects/Get effects
DogmaApigetDogmaEffectsEffectIdGET /dogma/effects/{effect_id}/Get effect information
FittingsApideleteCharactersCharacterIdFittingsFittingIdDELETE /characters/{character_id}/fittings/{fitting_id}/Delete fitting
FittingsApigetCharactersCharacterIdFittingsGET /characters/{character_id}/fittings/Get fittings
FittingsApipostCharactersCharacterIdFittingsPOST /characters/{character_id}/fittings/Create fitting
FleetsApideleteFleetsFleetIdMembersMemberIdDELETE /fleets/{fleet_id}/members/{member_id}/Kick fleet member
FleetsApideleteFleetsFleetIdSquadsSquadIdDELETE /fleets/{fleet_id}/squads/{squad_id}/Delete fleet squad
FleetsApideleteFleetsFleetIdWingsWingIdDELETE /fleets/{fleet_id}/wings/{wing_id}/Delete fleet wing
FleetsApigetFleetsFleetIdGET /fleets/{fleet_id}/Get fleet information
FleetsApigetFleetsFleetIdMembersGET /fleets/{fleet_id}/members/Get fleet members
FleetsApigetFleetsFleetIdWingsGET /fleets/{fleet_id}/wings/Get fleet wings
FleetsApipostFleetsFleetIdMembersPOST /fleets/{fleet_id}/members/Create fleet invitation
FleetsApipostFleetsFleetIdWingsPOST /fleets/{fleet_id}/wings/Create fleet wing
FleetsApipostFleetsFleetIdWingsWingIdSquadsPOST /fleets/{fleet_id}/wings/{wing_id}/squads/Create fleet squad
FleetsApiputFleetsFleetIdPUT /fleets/{fleet_id}/Update fleet
FleetsApiputFleetsFleetIdMembersMemberIdPUT /fleets/{fleet_id}/members/{member_id}/Move fleet member
FleetsApiputFleetsFleetIdSquadsSquadIdPUT /fleets/{fleet_id}/squads/{squad_id}/Rename fleet squad
FleetsApiputFleetsFleetIdWingsWingIdPUT /fleets/{fleet_id}/wings/{wing_id}/Rename fleet wing
IncursionsApigetIncursionsGET /incursions/List incursions
IndustryApigetIndustryFacilitiesGET /industry/facilities/List industry facilities
IndustryApigetIndustrySystemsGET /industry/systems/List solar system cost indices
InsuranceApigetInsurancePricesGET /insurance/prices/List insurance levels
KillmailsApigetCharactersCharacterIdKillmailsRecentGET /characters/{character_id}/killmails/recent/List kills and losses
KillmailsApigetKillmailsKillmailIdKillmailHashGET /killmails/{killmail_id}/{killmail_hash}/Get a single killmail
LocationApigetCharactersCharacterIdLocationGET /characters/{character_id}/location/Get character location
LocationApigetCharactersCharacterIdShipGET /characters/{character_id}/ship/Get current ship
LoyaltyApigetCharactersCharacterIdLoyaltyPointsGET /characters/{character_id}/loyalty/points/Get loyalty points
LoyaltyApigetLoyaltyStoresCorporationIdOffersGET /loyalty/stores/{corporation_id}/offers/List loyalty store offers
MailApideleteCharactersCharacterIdMailLabelsLabelIdDELETE /characters/{character_id}/mail/labels/{label_id}/Delete a mail label
MailApideleteCharactersCharacterIdMailMailIdDELETE /characters/{character_id}/mail/{mail_id}/Delete a mail
MailApigetCharactersCharacterIdMailGET /characters/{character_id}/mail/Return mail headers
MailApigetCharactersCharacterIdMailLabelsGET /characters/{character_id}/mail/labels/Get mail labels and unread counts
MailApigetCharactersCharacterIdMailListsGET /characters/{character_id}/mail/lists/Return mailing list subscriptions
MailApigetCharactersCharacterIdMailMailIdGET /characters/{character_id}/mail/{mail_id}/Return a mail
MailApipostCharactersCharacterIdMailPOST /characters/{character_id}/mail/Send a new mail
MailApipostCharactersCharacterIdMailLabelsPOST /characters/{character_id}/mail/labels/Create a mail label
MailApiputCharactersCharacterIdMailMailIdPUT /characters/{character_id}/mail/{mail_id}/Update metadata about a mail
MarketApigetMarketsGroupsGET /markets/groups/Get item groups
MarketApigetMarketsGroupsMarketGroupIdGET /markets/groups/{market_group_id}/Get item group information
MarketApigetMarketsPricesGET /markets/prices/List market prices
MarketApigetMarketsRegionIdHistoryGET /markets/{region_id}/history/List historical market statistics in a region
MarketApigetMarketsRegionIdOrdersGET /markets/{region_id}/orders/List orders in a region
MarketApigetMarketsStructuresStructureIdGET /markets/structures/{structure_id}/List orders in a structure
OpportunitiesApigetCharactersCharacterIdOpportunitiesGET /characters/{character_id}/opportunities/Get a character's completed tasks
OpportunitiesApigetOpportunitiesGroupsGET /opportunities/groups/Get opportunities groups
OpportunitiesApigetOpportunitiesGroupsGroupIdGET /opportunities/groups/{group_id}/Get opportunities group
OpportunitiesApigetOpportunitiesTasksGET /opportunities/tasks/Get opportunities tasks
OpportunitiesApigetOpportunitiesTasksTaskIdGET /opportunities/tasks/{task_id}/Get opportunities task
PlanetaryInteractionApigetCharactersCharacterIdPlanetsGET /characters/{character_id}/planets/Get colonies
PlanetaryInteractionApigetCharactersCharacterIdPlanetsPlanetIdGET /characters/{character_id}/planets/{planet_id}/Get colony layout
PlanetaryInteractionApigetUniverseSchematicsSchematicIdGET /universe/schematics/{schematic_id}/Get schematic information
RoutesApigetRouteOriginDestinationGET /route/{origin}/{destination}/Get route
SearchApigetCharactersCharacterIdSearchGET /characters/{character_id}/search/Search on a string
SearchApigetSearchGET /search/Search on a string
SkillsApigetCharactersCharacterIdSkillqueueGET /characters/{character_id}/skillqueue/Get character's skill queue
SkillsApigetCharactersCharacterIdSkillsGET /characters/{character_id}/skills/Get character skills
SovereigntyApigetSovereigntyCampaignsGET /sovereignty/campaigns/List sovereignty campaigns
SovereigntyApigetSovereigntyMapGET /sovereignty/map/List sovereignty of systems
SovereigntyApigetSovereigntyStructuresGET /sovereignty/structures/List sovereignty structures
StatusApigetStatusGET /status/Retrieve the uptime and player counts
UniverseApigetUniverseBloodlinesGET /universe/bloodlines/Get bloodlines
UniverseApigetUniverseCategoriesGET /universe/categories/Get item categories
UniverseApigetUniverseCategoriesCategoryIdGET /universe/categories/{category_id}/Get item category information
UniverseApigetUniverseConstellationsGET /universe/constellations/Get constellations
UniverseApigetUniverseConstellationsConstellationIdGET /universe/constellations/{constellation_id}/Get constellation information
UniverseApigetUniverseFactionsGET /universe/factions/Get factions
UniverseApigetUniverseGraphicsGET /universe/graphics/Get graphics
UniverseApigetUniverseGraphicsGraphicIdGET /universe/graphics/{graphic_id}/Get graphic information
UniverseApigetUniverseGroupsGET /universe/groups/Get item groups
UniverseApigetUniverseGroupsGroupIdGET /universe/groups/{group_id}/Get item group information
UniverseApigetUniverseMoonsMoonIdGET /universe/moons/{moon_id}/Get moon information
UniverseApigetUniversePlanetsPlanetIdGET /universe/planets/{planet_id}/Get planet information
UniverseApigetUniverseRacesGET /universe/races/Get character races
UniverseApigetUniverseRegionsGET /universe/regions/Get regions
UniverseApigetUniverseRegionsRegionIdGET /universe/regions/{region_id}/Get region information
UniverseApigetUniverseStargatesStargateIdGET /universe/stargates/{stargate_id}/Get stargate information
UniverseApigetUniverseStationsStationIdGET /universe/stations/{station_id}/Get station information
UniverseApigetUniverseStructuresGET /universe/structures/List all public structures
UniverseApigetUniverseStructuresStructureIdGET /universe/structures/{structure_id}/Get structure information
UniverseApigetUniverseSystemJumpsGET /universe/system_jumps/Get system jumps
UniverseApigetUniverseSystemKillsGET /universe/system_kills/Get system kills
UniverseApigetUniverseSystemsGET /universe/systems/Get solar systems
UniverseApigetUniverseSystemsSystemIdGET /universe/systems/{system_id}/Get solar system information
UniverseApigetUniverseTypesGET /universe/types/Get types
UniverseApigetUniverseTypesTypeIdGET /universe/types/{type_id}/Get type information
UniverseApipostUniverseNamesPOST /universe/names/Get names and categories for a set of ID's
UserInterfaceApipostUiAutopilotWaypointPOST /ui/autopilot/waypoint/Set Autopilot Waypoint
UserInterfaceApipostUiOpenwindowContractPOST /ui/openwindow/contract/Open Contract Window
UserInterfaceApipostUiOpenwindowInformationPOST /ui/openwindow/information/Open Information Window
UserInterfaceApipostUiOpenwindowMarketdetailsPOST /ui/openwindow/marketdetails/Open Market Details
UserInterfaceApipostUiOpenwindowNewmailPOST /ui/openwindow/newmail/Open New Mail Window
WalletApigetCharactersCharacterIdWalletsGET /characters/{character_id}/wallets/List wallets and balances
WarsApigetWarsGET /wars/List wars
WarsApigetWarsWarIdGET /wars/{war_id}/Get war information
WarsApigetWarsWarIdKillmailsGET /wars/{war_id}/killmails/List kills for a war

Documentation For Models

Documentation For Authorization

evesso

  • Type: OAuth
  • Flow: implicit
  • Authorization URL: https://login.eveonline.com/oauth/authorize
  • Scopes:
  • esi-assets.read_assets.v1: EVE SSO scope esi-assets.read_assets.v1
  • esi-bookmarks.read_character_bookmarks.v1: EVE SSO scope esi-bookmarks.read_character_bookmarks.v1
  • esi-calendar.read_calendar_events.v1: EVE SSO scope esi-calendar.read_calendar_events.v1
  • esi-calendar.respond_calendar_events.v1: EVE SSO scope esi-calendar.respond_calendar_events.v1
  • esi-characters.read_agents_research.v1: EVE SSO scope esi-characters.read_agents_research.v1
  • esi-characters.read_chat_channels.v1: EVE SSO scope esi-characters.read_chat_channels.v1
  • esi-characters.read_contacts.v1: EVE SSO scope esi-characters.read_contacts.v1
  • esi-characters.read_loyalty.v1: EVE SSO scope esi-characters.read_loyalty.v1
  • esi-characters.read_medals.v1: EVE SSO scope esi-characters.read_medals.v1
  • esi-characters.read_opportunities.v1: EVE SSO scope esi-characters.read_opportunities.v1
  • esi-characters.read_standings.v1: EVE SSO scope esi-characters.read_standings.v1
  • esi-characters.write_contacts.v1: EVE SSO scope esi-characters.write_contacts.v1
  • esi-clones.read_clones.v1: EVE SSO scope esi-clones.read_clones.v1
  • esi-corporations.read_corporation_membership.v1: EVE SSO scope esi-corporations.read_corporation_membership.v1
  • esi-corporations.read_structures.v1: EVE SSO scope esi-corporations.read_structures.v1
  • esi-corporations.write_structures.v1: EVE SSO scope esi-corporations.write_structures.v1
  • esi-fittings.read_fittings.v1: EVE SSO scope esi-fittings.read_fittings.v1
  • esi-fittings.write_fittings.v1: EVE SSO scope esi-fittings.write_fittings.v1
  • esi-fleets.read_fleet.v1: EVE SSO scope esi-fleets.read_fleet.v1
  • esi-fleets.write_fleet.v1: EVE SSO scope esi-fleets.write_fleet.v1
  • esi-killmails.read_killmails.v1: EVE SSO scope esi-killmails.read_killmails.v1
  • esi-location.read_location.v1: EVE SSO scope esi-location.read_location.v1
  • esi-location.read_ship_type.v1: EVE SSO scope esi-location.read_ship_type.v1
  • esi-mail.organize_mail.v1: EVE SSO scope esi-mail.organize_mail.v1
  • esi-mail.read_mail.v1: EVE SSO scope esi-mail.read_mail.v1
  • esi-mail.send_mail.v1: EVE SSO scope esi-mail.send_mail.v1
  • esi-markets.structure_markets.v1: EVE SSO scope esi-markets.structure_markets.v1
  • esi-planets.manage_planets.v1: EVE SSO scope esi-planets.manage_planets.v1
  • esi-search.search_structures.v1: EVE SSO scope esi-search.search_structures.v1
  • esi-skills.read_skillqueue.v1: EVE SSO scope esi-skills.read_skillqueue.v1
  • esi-skills.read_skills.v1: EVE SSO scope esi-skills.read_skills.v1
  • esi-ui.open_window.v1: EVE SSO scope esi-ui.open_window.v1
  • esi-ui.write_waypoint.v1: EVE SSO scope esi-ui.write_waypoint.v1
  • esi-universe.read_structures.v1: EVE SSO scope esi-universe.read_structures.v1
  • esi-wallet.read_character_wallet.v1: EVE SSO scope esi-wallet.read_character_wallet.v1

Author