Skip to content
TORNLIFE More

Deathdrake: forum

Deathdrake [3989833] Level 28 Traveling Brazilian Unit BR Member

Forum posts (Torn's count)
5 observed
Archived posts
6
Threads started (archived)
2

Boards

From the 6 newest archived posts.

Threads started

Most-liked posts

Likes as archived at fetch time, adjusted for how long each post had been up. Scored posts only; the full score pass runs after the import.

Trying to Use logs to register energy/nerve usage · · 1 like

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.

im trying to get log info from this url 

https://api.torn.com/user/id?selections=log&key=

(with timespam)

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

Trying to use logs to register energy/nerve usage · · 0 likes

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.

im trying to get log info from this url 

https://api.torn.com/user/id?selections=log&key=

(with timespam)

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

Recent archived posts

Looking for Work? Post your Stats here ·

Hello there my future boss

I have about 20k ea working stats looking for a 8* ou 7* candy shop

Trying to use logs to register energy/nerve usage · · 1 like

just an update

everything worked just fine 
thankyou for helping me! 
Gl & Hf

Trying to use logs to register energy/nerve usage · · 1 like

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.

Trying to Use logs to register energy/nerve usage ·

Nope, i was first trying to figure out a way of recording energy usage and enjoying myself

 

I wasnt able to search trhough v2 tho

 

Couldnt get it working no matter how

 

Tomorrow ill try your solutions and give it a second try for v2

Trying to use logs to register energy/nerve usage ·

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.

im trying to get log info from this url 

https://api.torn.com/user/id?selections=log&key=

(with timespam)

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

Trying to Use logs to register energy/nerve usage · · 1 like

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.

im trying to get log info from this url 

https://api.torn.com/user/id?selections=log&key=

(with timespam)

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