Heya,
Does anyone know how to get more than 100 results back from "https://api.torn.com/faction/?selections=crimes&key="
I've tried &to=*** but it doesn't seem to be working unless I've done something wrong?
Faction OCs
-
Thread created on 01:36:01 - 08/01/22 (2 years ago)|Last replied 05:06:42 - 25/01/22 (2 years ago)Heya,
Does anyone know how to get more than 100 results back from "https://api.torn.com/faction/?selections=crimes&key="
I've tried &to=*** but it doesn't seem to be working unless I've done something wrong? -
-
Posted on 19:41:38 - 09/01/22 (2 years ago)Post link copied to clipboard Copy post linkThe to and from vals also work here...why would anyone but a total loser pay money to play a browser game????
-
-
Posted on 05:06:42 - 25/01/22 (2 years ago)Post link copied to clipboard Copy post linkI've found that you have to have a &to and a &from parameter, otherwise it will just return the last 100 crimes. When more than 100 crimes would fall within the parameters, it prioritizes the &to parameter, meaning you could just have a static &from=1500000000 parameter.
I've also noticed that if you are making calls too frequently, it will return the same results as the previous call even if you have changed the parameters which can make troubleshooting more challenging.Last edited by VanilaNightmare on 05:08:09 - 25/01/22 -