These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
Looking for offline api info/documentation
#!/usr/bin/env python# -*- coding: UTF-8 -*- from __future__ import print_function from bravado.client import SwaggerClientimport bravado.exception def main(): client = SwaggerClient.from_url('https://esi.tech.ccp.is/latest/swagger.json') characterName = "Bump Mechanic" charResults = client.Search.get_search( search=characterName, categories=['character'], strict=True, ).result()['character'] if len(charResults) <= 0: raise Exception("Character not found") characterId = charResults[0] #assuming only one result charInfo = client.Character.get_characters_character_id(character_id=characterId).result() print("Name: %s" % (charInfo['name'])) print("Gender: %s" % (charInfo['gender'])) print("Bio: %s" % (charInfo['description'])) if __name__ == "__main__": main()
Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck
Visit "Haulers Channel" in game for all matters courier-related.
Structure name/system API: stop.hammerti.me.uk/api
# -*- coding: UTF-8 -*- from esipy import Appfrom esipy import EsiClientclient = EsiClient()app = App.create('https://esi.tech.ccp.is/latest/swagger.json')# https://esi.tech.ccp.is/latest/#!/Search/get_searchsearch_op = app.op['get_search']( search='CCP Falcon', categories=['character'])result = client.request(search_op)if not result.data or not result.data.character: print "no results" else: # https://esi.tech.ccp.is/latest/#!/Character/get_characters_character_id get_char_op = app.op['get_characters_character_id']( character_id=result.data.character[0] ) result = client.request(get_char_op ) if result.data: print "Name: %s" % (result.data.name) print "Gender: %s" % (result.data.gender) print "Bio: %s" % (result.data.description)
EsiPy - Python 2.7 / 3.3+ Swagger Client based on pyswagger for ESI