Hi All, Started playing eve again after some time away and thought id get into manufacturing, checked out some of the spreadsheets that people have created and thought they were cool but id rather build a basic application which I can import the data and mess around with it and create my own interfaces etc.
Now I have used python before to create basic applications and dealing with data etc, but for the life of me I don’t understand most of these tutorial or the very limited few for how to pull data from the eve into my application. Can someone point me to a really straightforward tutorial that will get me going on the basics?
Developer here. I’ve done a bunch of work with REST APIs, but I’m pretty new to EVE and have only played for a week. Exploring some of the apps other users have made got my curious however, so I started poking around a little to see what’s available.
Unfortunately I can’t link you to a tutorial (perhaps I’ll make one if no one else did that already), but so far I have to say that the available documentation is certainly a bit… lacking.
The API is built using Swagger (ESI stands for “EVE Swagger Interface”). Swagger is a tool for building programming language agnostic API interfaces. This means there is a metadata document, which describes all available endpoints in a machine readable format, and can be used to generate an API client for the language of your choice (meaning you will mostly not have to make HTTP requests yourself, but instead you can use a native call interface in your preferred language).
You will need to create an API key here, and then use that with the Swagger Python interface to access the API. The list of endpoints I’ve linked above will give you a rough idea about what data you can access and in what format it will come.
That’s about as much as I could learn in 5 minutes, hopefully someone with more experience can chime in with a more detailed guide. Otherwise, I hope that was at least somewhat helpful in pointing you in the right direction.
Thank you very much for the reply Hiiro, i forgot to mention that the main issue im having is getting past the authentication, i’ve followed some of the tutorials and can get small aspects of it working but never get it to automatically update the tokens, Have you seen any in depth tutorials for this?
Always great to see more people building apps for Eve, especially in Python!
I’ve have been developing Eve apps for a couple years and I would advise to use one of the existing libraries for interacting with ESI instead of trying to build it yourself. That way you can focus on building your actual app.
There are two libraries for Python that I know of:
EsiPy
DjangoEsi
If you are building a Django app you want to use DjangoEsi, otherwise EsiPy.
More details incl. a full list of most Eve apps and Eve related dev tools on this repo.
Disclaimer: I am part of the development team for DjangoEsi .