Log entries via API limited to 100 results? | API Development …
Log entries via API limited to 100 results?
  • TNL VanilaNightmare [2310825]VanilaNightmare [2310825]
    • VanilaNightmare [2310825]
    • Role: Civilian
    • Level: 89
    • Posts: 436
    • Karma: 1258
    • Last Action: 9 minutes
    • Quote
    • Report
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 17:20:49 - 12/07/21 (3 months ago)
    |
    Last replied 19:32:00 - 13/07/21 (3 months ago)
    I was hoping to go back and look at some of my personal crime history via the logs using the API but it appears to me that I am only able to pull the last 100 log entries.

    Is there a way to access log entries older than the last 100 via the API or am I out of luck?

    Thanks in advance
  • AP Bilbosaggings [2323763]Bilbosaggings [2323763]
    • Bilbosaggings [2323763]
    • Role: Civilian
    • Level: 31
    • Posts: 450
    • Karma: 509
    • Last Action: 8 hours
    • Quote
    • Report
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 18:33:48 - 13/07/21 (3 months ago)
    Post link copied to clipboard Copy post link
    Yeh just use a from timestamp to get historical data
    Ie. api.torn.com/user/?selections=Log&log=5720&from={from timestamp}&key={key}
    Would give crime successes from that time forward. And returns in order of newset to oldest

    "Sorry! I don't want any adventures, thank you. Not Today. Good morning! But please come to tea -any time you like! Why not tomorrow? Good bye!"

    I Sell Custom Spreadsheets PM me for details 

    I Sell Revs (Rev skill of 24) PM me

  • TNL VanilaNightmare [2310825]VanilaNightmare [2310825]
    • VanilaNightmare [2310825]
    • Role: Civilian
    • Level: 89
    • Posts: 436
    • Karma: 1258
    • Last Action: 9 minutes
    • Quote
    • Report
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:32:00 - 13/07/21 (3 months ago)
    Post link copied to clipboard Copy post link
    Perfect, thank you.
Reply
Thread Title: