Hello guys i need help. i want to register every energy/nerve spent by my fac players and the solution that i found was get this info from the logs.. it works but there is a limit of information that the request brings in the response.
let url = "https://api.torn.com/user/"+USER_ID+"?selections=log&from="+from+"&to="+now+"&key="+FULL_ACCESS_API_KEY;
it works... but there is a limit to the items quantity selected in the response that i cant find a way to surpass... i have set a date time interval in unix to get all data in the range of a day, but i cant make it work if the occurrencies passes the limit you lose info.
one solution that i found was to make the interval a little shorter like 6hours interval but my fac just participated in a rw and the logs went crazy like in the timespam of 10 minutes it already filled up the limit.. is there a parameter that i should be filling or another url for the request or another solution to my problem
Hello guys i need help. i want to register every energy/nerve spent by my fac players and the solution that i found was get this info from the logs.. it works but there is a limit of information that the request brings in the response.
let url = "https://api.torn.com/user/"+USER_ID+"?selections=log&from="+from+"&to="+now+"&key="+FULL_ACCESS_API_KEY;
it works... but there is a limit to the items quantity selected in the response that i cant find a way to surpass... i have set a date time interval in unix to get all data in the range of a day, but i cant make it work if the occurrencies passes the limit you lose info.
one solution that i found was to make the interval a little shorter like 6hours interval but my fac just participated in a rw and the logs went crazy like in the timespam of 10 minutes it already filled up the limit.. is there a parameter that i should be filling or another url for the request or another solution to my problem
nice, i just tested sort isnt working (nor orderby) it is not really necessary tho, but using only 'to' and your approach to use a loop maybe will work.
Hello guys i need help. i want to register every energy/nerve spent by my fac players and the solution that i found was get this info from the logs.. it works but there is a limit of information that the request brings in the response.
let url = "https://api.torn.com/user/"+USER_ID+"?selections=log&from="+from+"&to="+now+"&key="+FULL_ACCESS_API_KEY;
it works... but there is a limit to the items quantity selected in the response that i cant find a way to surpass... i have set a date time interval in unix to get all data in the range of a day, but i cant make it work if the occurrencies passes the limit you lose info.
one solution that i found was to make the interval a little shorter like 6hours interval but my fac just participated in a rw and the logs went crazy like in the timespam of 10 minutes it already filled up the limit.. is there a parameter that i should be filling or another url for the request or another solution to my problem
Hello guys i need help. i want to register every energy/nerve spent by my fac players and the solution that i found was get this info from the logs.. it works but there is a limit of information that the request brings in the response.
let url = "https://api.torn.com/user/"+USER_ID+"?selections=log&from="+from+"&to="+now+"&key="+FULL_ACCESS_API_KEY;
it works... but there is a limit to the items quantity selected in the response that i cant find a way to surpass... i have set a date time interval in unix to get all data in the range of a day, but i cant make it work if the occurrencies passes the limit you lose info.
one solution that i found was to make the interval a little shorter like 6hours interval but my fac just participated in a rw and the logs went crazy like in the timespam of 10 minutes it already filled up the limit.. is there a parameter that i should be filling or another url for the request or another solution to my problem