The lookup api call | API Development | TORN

The lookup api call

    • XiaoMeiMei [3228753]
    • Role: Civilian
    • Level: 46
    • Posts: 43
    • Karma: 35
    • Last Action: 54 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 15:34:07 - 10/04/24 (4 months ago)
    |
    Last replied 13:37:53 - 11/04/24 (4 months ago)
    Looking at the documentation, this call exists:

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



    What is this used for? instead of simply calling the log and sorting through it, I can simply lookup events through it, for example? I am not sure how to use this one, but it sounds really useful.
    • DeKleineKobini [2114440]
    • Role: Committee
    • Level: 100
    • Posts: 3,745
    • Karma: 5,371
    • Last Action: 4 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 17:20:15 - 10/04/24 (4 months ago)
    Post link copied to clipboard Copy post link
    'lookup' is meant as a sort of documentation
    It will show all the available selections for that section.

    Instead of using that, I'd recommend to use the unofficial documentation (disclaimer: made by me).
    • XiaoMeiMei [3228753]
    • Role: Civilian
    • Level: 46
    • Posts: 43
    • Karma: 35
    • Last Action: 54 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:37:53 - 11/04/24 (4 months ago)
    Post link copied to clipboard Copy post link
    Cheers, thank you!
    Am trying to build a small casino winning/losses tracking app so I guess I will only really need the "log" part.
Reply
Thread Title: