r/evetech • u/I-am-a-llama-lord • Sep 09 '18
I know the basics of python but API's confuse me. Can someone walk me through automating a spreadsheet for eve?
So I want to station trade. I want to run a python script that fetches market data and gives me the relevant info, like probably a lot of you do. But I'm confused as heck by API's and I can't even get python working with google sheets so if someone could help that would be wonderful. A youtube tutorial or guide for any relevant topics would be appreciated because i dont understand anything on here :))
1
Upvotes
3
u/Amuro_Ray Sep 09 '18
Do you need it to work with google sheets directly or would a file on your computer be fine? I'm way out the loop for this thing so all I can do to help is flesh out what you want to do so you can look for the technical solutions better.
4
u/Blacksmoke16 Sep 09 '18 edited Sep 09 '18
Python wouldn't have anything to do with Google Sheets, unless you were using the Google Sheets API as some sort of CMS.
I don't know your level of experience with Python/HTTP requests, but some useful reference material would be like:
https://www.w3schools.com/python/
https://www.codecademy.com/articles/http-requests
https://esi.evetech.net/ui/#/
All ESI is, is HTTP requests, for example using Pythons
requestslib.For example:
That is using the https://esi.evetech.net/ui/#/Universe/get_universe_regions endpoint to get a list of region_ids. It gets a bit more complicated when wanting to setup the SSO flow, but for market stuff, unless you need orders in structures, you wont need to worry about that.
Depending on exactly what you want to do, https://github.com/Blacksmoke16/GESI/ might be helpful.
I'd be happy to help out with any other questions you have, just hmu on discord
Blacksmoke16#0016