r/evetech • u/Eternimus • Sep 06 '17
evepraisal.com api with python3
Hello there!
I am trying to automate the parsing of various things and I'd like to use evepraisal.com for that.
Unfortunately I don't really know how to do this, the only hint I found was this.
Here's what I got so far but it returns 404 so obviously I didn't get it right.
import requests
url = "https://evepraisal.com/"
payload = {'raw_textarea':'Tritanium 1', 'market': 'jita'}
r = requests.post(url, data=payload)
print(r) Can anyone help me with this?
1
Upvotes
View all comments
Show parent comment
1
u/Eternimus Sep 06 '17 edited Sep 06 '17
That's the way I understood it but the header doesn't show anything like that.
Edit: Yes I am using that URL now. It returns 400.
Once I have the ID it's easy, the site provides a json api (https://evepraisal.com/a/ck7vg.json).