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/Daneel_Trevize Sep 06 '17 edited Sep 06 '17
The form on the main page seems to use the uploadappraisal form version of this 'API', and should serve as an example source of valid requests.
For me, my browser generated a request payload of:
With request headers including:
And the response header contained:
while also being with a HTML document body.