I just pip installed this with the --user flag and can't seem to make it work at all.
First I tried from heisenberg.rest_client import RestClient
in the standard Python interface to test out some things on getting info on people. But, I get the following with Python 2.7 and 3.5.
return f"{self.base_url}/{path}"
^
SyntaxError: invalid syntax
So I tried something simpler, from heisenberg.core import Heisenberg
and get the following in Python 2.7, 3.5 and even 3.4.
heist.py", line 16
"amount": f"{self.amount}"
^
SyntaxError: invalid syntax
Any clues on why this is happening? Some change perhaps?
Was hoping to write a script or something to save time picking targets. It's an utter pain with the current interface of DrugWars.
It requires python 3.6 and greater. But drugwars team disabled the rest api for a while even though you fix that issue.
Well that sucks... Guess I can mock up some scripts for when they do re-enable it though.
Other option is scraping the site...which isn't exactly wise when it's in alpha.