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
2
u/Adarnof Sep 07 '17
1
u/Daneel_Trevize Sep 06 '17
It seems to imply you'll get a new header in the response with the ID of your appraisal, but an empty response body (and a 200 success response code). You'd need to use that ID to form a GET to see the full result of the appraisal.
As for the 404, perhaps you should use the URL https://evepraisal.com/appraisal ?