Public API v2 project board | API Development | TORN

Public API v2 project board

    • splent [2088243]
    • Role: Admin
    • Level: 95
    • Posts: 718
    • Karma: 2,002
    • Last Action: 59 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 09:31:02 - 27/06/24 (5 months ago)
    |
    Last replied 20:48:07 - 07/07/24 (4 months ago)

    Hello everyone,

     

    I'm excited to announce the launch of our public board for the upcoming API v2 changes!
    You can access the board here: API v2 Changes Board

    At any time you will be able to see which parts of the API v2 are in progress or completed. You will also see what is the priority for each section.

    Currently, new sections and very much needed improvements have the highest priorities, followed by various bug fixes and then just general v2 refactoring.

     

    On all sections I'm looking to make bug fixes and add various small enhancements where needed (such as adding attacker/defender level to 'user'->'attacks' & 'faction'->'attacks' sections).

     

    Here are the key takeaways ~

    User API

       add  search  section which allows searching players by their username

       replace  crimes  section to return statistics for a specific crimes 2.0 crime (including information about uniques)

       *  fully restore  inventory  section after the system migration is complete

       add  forumUpdates  section which returns a list of forum updates for the user (new posts in subscribed threads, likes/dislikes, replies etc.)

       add  races  section which returns a list of the the user's completed races

       add  enlistedCars  section which returns the list of the user's enlisted cars and their upgrades

       add  contacts  section (friends/enemies/blocked users), to the Full Access category

       add  pointsBuilding  section to show a list of unlocked sections & costs (e.g. merit reset cost)

       add  calendar  section which returns currently set event start time

       add  competition  section which returns the competition status for users

       add  itemMarket  section which returns a list of the user's item market listings (to complement 'User' -> 'Baazar' section, likely to be done after item market 2.0)

       add  auctionHouse  section which returns a list of the user's auction house listings

       add  propertyMarket  section which returns a list of the user's property market & property loan market listings

     

    Faction API

       add search  section  which allows searching factions by their name

       add  hof  section for factions

       add player revivable status to 'Faction' -> 'Basic' section for members of your faction (if you're a leader/co-leader or have sufficient API privileges)

     

    Company API

       add  search  section which allows searching companies by their name

       add value to 'company' -> 'employees' section for owner who have a secretary in their company

     

    Market API

       possibly add item uid and item stats to bazaar / itemMarket sections

       add  auctionHouse  section to return a list of items based on the item id/category/bonus

       add  property  &  propertyLoan  sections

     

    Torn API

       add  calendar  section to return a list of all events & competitions for the running year

       add  hof  section to return a list of 100 members per category (one category at the time)

       add  crimesList  section which returns a list of crimes (so you know which sections to pull in 'user' -> 'crimes' section)

       remove  organizedCrimes  section because it will no longer be necessary once OC 2.0 are released

     

    Property API

       no major changes

     

    Racing API (new)

       new section  racesCurrent  which returns a list of custom non-started races

       new section  races  which returns a list of finished races

       new section  race  which returns details of a race (participants, result, etc.)

       new section  records  which returns current records for each track and each car class

       new section  hof  which returns a racing hall of fame

     

    Forum API (new)

       new section  categories  which returns a list of possible categories (e.g. General Discussion, Non-related, etc.)

       new section  threads  which returns a list of threads ordered by the latest post

       new section  thread  which returns posts with information about the poster

       new section  search  which allows searching posts for specific keywords or by a specific player etc.

     

    General API improvements

       add the amount of the remaining API calls to every response

       add new dedicated section which returns a list of active users in the last 24 hours (updated once a day)

       fields across all endpoints will be revisited & renamed/restructured to follow a more standardized REST API naming convention

     

    --

     

    There are some improvements that we can't add just yet, but I'll be glad to have them revisited once the majority of the work on this public board is complete.

     

    I would also like to thank everyone for writing down the suggestions (major or minor). It really helped to see what the community needs and why, so please keep sharing your feedback!

     

    Thank you,

     

    Mauro



    • MightyGoober [812478]
    • Role: Civilian
    • Level: 100
    • Posts: 6,330
    • Karma: 19,079
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:14:43 - 27/06/24 (5 months ago)
    Post link copied to clipboard Copy post link

    Edit - My concerns are covered on the Miro board.

     

    Nice work splent/Mauro!

    Last edited by MightyGoober on 14:29:56 - 27/06/24 (5 months ago)

    • Beerson [1576144]
    • Role: Civilian
    • Level: 91
    • Posts: 1,680
    • Karma: 5,157
    • Last Action: 20 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 11:01:12 - 28/06/24 (5 months ago)
    Post link copied to clipboard Copy post link

    Love to see Forum updates being worked on, could be very useful to traders.

     

    Looking forward for inventory API updates, hopefully we'll be ale to see cache pulls to see just how much money we're losing on this addiction.

    Last edited by Beerson on 11:02:40 - 28/06/24 (5 months ago)

    It's bogie's torn, we just live in it

    a4b7bca8-409b-4d9a-bf37-2acba674b91f-1576144.pngPlease stop the Chedding

    IMG-1995.gif

    • _SCOFIELD_ [1441750]
    • Role: Civilian
    • Level: 100
    • Posts: 3,786
    • Karma: 6,657
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:10:51 - 02/07/24 (5 months ago)
    Post link copied to clipboard Copy post link

    Would be nice if faction -> basic could also show member icons for each member as you can see by going to a faction’s page manually

     

    • Stretch [1846075]
    • Role: Officer
    • Level: 100
    • Posts: 2,629
    • Karma: 8,952
    • Last Action: 7 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:29:03 - 02/07/24 (5 months ago)
    Post link copied to clipboard Copy post link

    With us removing things that allow for easy mug situations, taking the item market mugging out of it would be good too....

    SVg9hNL.gif

    • Foxclay [2493597]
    • Role: Civilian
    • Level: 73
    • Posts: 32
    • Karma: 10
    • Last Action: 22 days
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:12:08 - 03/07/24 (5 months ago)
    Post link copied to clipboard Copy post link

    Very cool to see a Work in Progress board, hopefully we can see more posts like these

    • Broxogar [2728258]
    • Role: Civilian
    • Level: 15
    • Posts: 704
    • Karma: 1,204
    • Last Action: 8 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:02:24 - 03/07/24 (5 months ago)
    Post link copied to clipboard Copy post link

    Can we please reduce the information about the market that can be accessed rather than increasing it?

     

    At the moment most mugs involve people who aren't even logged in until a bot pings them.

     

    Mugging is in an important part of the game, but lets add some effort back into it :)

     

     

    Last edited by Broxogar on 23:00:55 - 03/07/24 (5 months ago)

    2.gif

    • Grunk [2664039]
    • Role: Civilian
    • Level: 50
    • Posts: 72
    • Karma: 2
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:48:07 - 07/07/24 (4 months ago)
    Post link copied to clipboard Copy post link

    A better definition of who's funds are who's in a shared vault access situation would be grand!

    -- GPG: 0x71A8A5D0
    > From the cave of Grunk the Goblin
    > A: Yes.
    > >Q: Are you sure?
    > >>A: Because it reverses the logical flow of conversation.
    > >>>Q: Why is top posting frowned upon?
    > xkcd/84 | xkcd/149 | xkcd/549
    ----------------------------------------------------------------------
    
Reply
Thread Title: