Faction Upgrade Challenge lookup | API Development | TORN

Faction Upgrade Challenge lookup

    • LaZoR50 [663200]
    • Role: Civilian
    • Level: 72
    • Posts: 184
    • Karma: 29
    • Last Action: 33 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 21:17:00 - 21/05/24 (6 months ago)
    |
    Last replied 20:09:19 - 14/08/24 (3 months ago)

    Hi,

     

    So currently on our way to push through the Side Effects Upgrades, which have a required amount of drugs used to unlock the next upgrade, the Challenge.

     

    Now, I was hoping to extract some stats about my members drug use, I could obviously loop through all those logs of the last 200-300 days, but that's quite awful. 

     

    I also noticed this challenge page quite nicely keeps track of everyone's (total) used drugs while in the faction. So simply.. Is there a way in the API to extract this? It seems like a good way to save myself and the servers from having me looking it all up by script.

    • DeKleineKobini [2114440]
    • Role: Committee
    • Level: 100
    • Posts: 3,784
    • Karma: 5,405
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 21:25:09 - 21/05/24 (6 months ago)
    Post link copied to clipboard Copy post link

    Yes, there is: faction/contributors.

    • byrod [1132772]
    • Role: Civilian
    • Level: 100
    • Posts: 2,528
    • Karma: 3,955
    • Last Action: 2 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:19:48 - 14/08/24 (3 months ago)
    Post link copied to clipboard Copy post link

    That does not work at the moment, right?

    It returns null for me (and yes, I have AA access and tested it with a Full Access key):

    {"contributors":null}

    TornEngine

    • DeKleineKobini [2114440]
    • Role: Committee
    • Level: 100
    • Posts: 3,784
    • Karma: 5,405
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:38:08 - 14/08/24 (3 months ago)
    Post link copied to clipboard Copy post link

    DeKleineKobini [2114440]

    Yes, there is: faction/contributors.

    byrod [1132772]

    That does not work at the moment, right?

    It returns null for me (and yes, I have AA access and tested it with a Full Access key):

    {"contributors":null}

    It does work, but make sure to pass the 'stat' parameter as it's required.

    • byrod [1132772]
    • Role: Civilian
    • Level: 100
    • Posts: 2,528
    • Karma: 3,955
    • Last Action: 2 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:57:57 - 14/08/24 (3 months ago)
    Post link copied to clipboard Copy post link

    DeKleineKobini [2114440]

    Yes, there is: faction/contributors.

    byrod [1132772]

    That does not work at the moment, right?

    It returns null for me (and yes, I have AA access and tested it with a Full Access key):

    {"contributors":null}

    DeKleineKobini [2114440]

    It does work, but make sure to pass the 'stat' parameter as it's required.

    Oh, just used the officially try it page, which isn't exactly hinting at it. 

    Thanks! :-) 

    TornEngine

    • DeKleineKobini [2114440]
    • Role: Committee
    • Level: 100
    • Posts: 3,784
    • Karma: 5,405
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:09:19 - 14/08/24 (3 months ago)
    Post link copied to clipboard Copy post link

    DeKleineKobini [2114440]

    Yes, there is: faction/contributors.

    byrod [1132772]

    That does not work at the moment, right?

    It returns null for me (and yes, I have AA access and tested it with a Full Access key):

    {"contributors":null}

    DeKleineKobini [2114440]

    It does work, but make sure to pass the 'stat' parameter as it's required.

    byrod [1132772]

    Oh, just used the officially try it page, which isn't exactly hinting at it. 

    Thanks! :-) 

    Sadly there are valid reason why I made the unofficial docs, I would have rather not have those reasons and just have suitable officials docs. It looks to be better with v2 coming though.

Reply
Thread Title: