Some torn.com API functions with python
You will need to install the requests library, by typing in your console:
pip install requests
It will ask you for your API key, that you can find here
Then it will autosave it in a apikey.txt file.
If the apikey is wrong, the program will reset and ask for an API key once again.
You can ask for multiple fields at a time, for example:
ammo, profile, logs