I’m trying to learn the API but haven’t come across a specification for what options are available.I’d like to pull item purchases that I’ve made. Item type, quantity and price paid.Also is there a way to select a range based on date/time?Thanks in advance for any help.
as far as I know the only way to do this is to use the log API : https://api.torn.com/user/?selections=log&key=
Something like this:https://api.torn.com/user/log/data?selections=log&log=4201&from=1659160799&key=<your key here>Where "from" is a unixtimestamp of the earliest you want to go back (or leave it off).You can find the log category id (4201) by looking at your log:https://www.torn.com/page.php?sid=logChoosing "Item abroad Buy" changes the URL to https://www.torn.com/page.php?sid=log&log=4201 so your log ID is 4201.
I'll just add this because you didn't mention it aboveyou can get a list of the log types with this linkhttps://api.torn.com/torn/?selections=logtypes&key=
Faction Upgrades SIM v4.0 peace/war modes Torn's Frequent Flyers