Friends/Enemies | API Development | TORN

Friends/Enemies

    • Blainyckz_ [606698]
    • Role: Civilian
    • Level: 77
    • Posts: 238
    • Karma: 209
    • Last Action: 4 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 13:47:34 - 01/01/22 (2 years ago)
    |
    Last replied 13:02:06 - 04/01/22 (2 years ago)
    Heya,

    Quick q I could be being blind but is there any of the selections that pull out my friends enemies list detail?
    • PlatinumDevil [1920420]
    • Role: Civilian
    • Level: 100
    • Posts: 1,609
    • Karma: 2,363
    • Last Action: 1 day
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:41:31 - 02/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    This information could be received from the enemy list and friend list sections of the log.
    • Blainyckz_ [606698]
    • Role: Civilian
    • Level: 77
    • Posts: 238
    • Karma: 209
    • Last Action: 4 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:58:31 - 02/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    I've looked at User > Log but it only returns 100 results in the call...Am I looking at the wrong log option?

    It's not hitting the rate 'cos it's just the one call.

    1 Points market buy
    2 Casino spin the wheel lose
    3 Casino spin the wheel start
    4 Casino spin the wheel free spin
    5 Casino spin the wheel start
    6 Casino spin the wheel win casino tokens
    7 Casino spin the wheel start
    8 Casino spin the wheel win item
    9 Casino spin the wheel start
    10 Vault withdraw
    11 Forums rate
    12 Forums create post
    13 Vault deposit
    14 Vault withdraw
    15 Vault deposit
    16 Attack mug
    17 Enemies list description
    18 Attack mug
    19 Crime success money gain
    20 Crime success money gain
    21 Crime success money gain
    22 Crime success money gain
    23 Crime success money gain
    24 Crime success money gain
    25 Item use blood bag
    26 Item use blood bag
    27 Hospital
    28 Crime fail hospital
    29 Crime success money gain
    30 Travel initiate
    31 Attack escape
    32 Offshore bank deposit
    33 Travel initiate
    34 Vault deposit
    35 Loan decrease
    36 Vault withdraw
    37 Bank invest
    38 Bank withdraw
    39 Company employee pay
    40 Gym train speed
    41 Item use book
    42 Captcha validation success
    43 Vault deposit
    44 Bazaar sell
    45 Vault deposit
    46 Bazaar sell
    47 Bazaar sell
    48 API key add
    49 Bazaar edit
    50 Vault deposit
    51 Bazaar sell
    52 Vault deposit
    53 Bazaar sell
    54 Vault deposit
    55 Bazaar sell
    56 Bazaar sell
    57 Bazaar sell
    58 Bazaar sell
    59 Bazaar add
    60 Bazaar add
    61 Bazaar add
    62 Bazaar add
    63 Bazaar add
    64 Bazaar add
    65 Bazaar add
    66 Bazaar add
    67 Bazaar add
    68 Bazaar add
    69 Bazaar add
    70 Bazaar add
    71 Bazaar add
    72 Bazaar add
    73 Successful login
    74 Successful login
    75 Crime success money gain
    76 Crime success money gain
    77 Crime success money gain
    78 Crime success money gain
    79 Crime success money gain
    80 Crime fail
    81 Crime success money gain
    82 Crime success money gain
    83 Gym train speed
    84 Captcha validation success
    85 Successful login
    86 Successful login
    87 Successful login
    88 Successful login
    89 Level up
    90 Life maximum increase
    91 Crime success money gain
    92 Crime success money gain
    93 Crime success money gain
    94 Crime success money gain
    95 Crime success money gain
    96 Crime success money gain
    97 Crime success money gain
    98 Successful login
    99 Forums create post
    100 Hospital
    Last edited by Blainyckz_ on 21:06:41 - 02/01/22
    • htys [1545351]
    • Role: Civilian
    • Level: 100
    • Posts: 64
    • Karma: 140
    • Last Action: 2 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 11:03:25 - 04/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    looking forward to fields like user -> friends or user -> enemies

    • Blainyckz_ [606698]
    • Role: Civilian
    • Level: 77
    • Posts: 238
    • Karma: 209
    • Last Action: 4 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:18:59 - 04/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    How do I get it to go past the 100 results though? if I do this I only get two hits from adding and removing you quickly.

    Last edited by Blainyckz_ on 12:19:14 - 04/01/22
    • DeKleineKobini [2114440]
    • Role: Committee
    • Level: 100
    • Posts: 3,745
    • Karma: 5,371
    • Last Action: Now
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:29:27 - 04/01/22 (2 years ago)
    Post link copied to clipboard Copy post link

    Blainyckz_ [606698]

    How do I get it to go past the 100 results though? if I do this I only get two hits from adding and removing you quickly.

    You can filter based on the action. Add the log or cat parameter, the values can be seen through the api as well: torn/logcategories (cat), torn/logtypes (log). So "&log=5750,5751,5755,5756" would give you only enemy list add/remove and friend list add/remove. This will also give you 100, you'll need to use the to= parameter to get more.
    Last edited by DeKleineKobini on 13:21:53 - 04/01/22
    • Blainyckz_ [606698]
    • Role: Civilian
    • Level: 77
    • Posts: 238
    • Karma: 209
    • Last Action: 4 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:02:06 - 04/01/22 (2 years ago)
    Post link copied to clipboard Copy post link

    Blainyckz_ [606698]

    How do I get it to go past the 100 results though? if I do this I only get two hits from adding and removing you quickly.

    DeKleineKobini [2114440]

    You can filter based on the action. Add the log or cat parameter, the values can be seen through the api as well: torn/logcategories (cat), torn/logtypes (log). So "&log=5750,5751,5755,5756" would give you only enemy list add/remove and friend list add/remove. This will also give you 100, you'll need to use the to= parameter to get more.
    Ahhh! Thank you so much for that :D
Reply
Thread Title: