TBM API v2 released

03/30/2022 16:17 lordsill#1
Dear community,

today we present an update that only a small number of you will be able to use, but which will have a major impact on tomorrow's projects, possibly the ones you will use as well. It is a complete update of our API: the TBM API v2.

https://i.imgur.com/0SZgZaR.png

With this update, the most important TBM functions can be accessed via a REST interface:

elite*gold
  • List transactions
  • send elite*gold

Treasures
  • list treasures
  • retrieve information of single treasures
  • create treasure
  • buy treasure

Trades
  • list trades
  • retrieve information of individual trades
  • generate trade URL's
  • request trades
  • update trades

Other
  • retrieve user details

In each case, the API responds in JSON, which can be worked with in any modern programming language.

Before you can get started with the new interface, you need to define a Secret Word here, which must be passed with each request. Also whitelisting of max. 5 IP's (CIDR notations are also supported) are optionally possible, for an extra layer of security.

You can find instructions on how to use the endpoints here. Be careful, it gets a bit technical!

https://media4.giphy.com/media/DHqth0hVQoIzS/giphy.gif

We hope that the programmers among you can do something with it. If you have questions about a planned implementation or integration, you can reach us as always via the Complaint Area. For more complex ideas we are also happy to help you with brainstorming and implementation questions (also rules related). So go ahead, we don't bite. :)

Important for users of the old TBM API (v1)! It will be switched off on May 1st 2022, an update or request to the new API will also migrate your account to v2, so you should adapt your scripts to the new interface before you interact with it in any way.
03/30/2022 17:30 ! Zaptine#2
Very cool stuff ! :handsdown:
03/30/2022 23:37 Sayonara...#3
Nice! :bandit:

Quote:
Originally Posted by Zaptine View Post
Very cool stuff ! :handsdown:
*staff :D
03/31/2022 03:43 ItsGamerDoc#4
Nice can come in handy for some
03/31/2022 04:36 Damitsu#5
great job guys
03/31/2022 19:22 Formenos Shop#6
Nice job, I think it was too late
03/31/2022 19:44 Melonity#7
Very useful update!
Thanks :3
04/02/2022 00:07 GLOBALYANG#8
Nice job, thanks for adding this to us :)
04/02/2022 21:12 sp3sh#9
nice, we can start using gold more.
04/25/2023 20:58 Natsu Dragneel#10
Quote:
Originally Posted by lordsill View Post
Other
  • retrieve user details
Hallo,

kann man hier eigentlich auch die Mediations herbekommen?
04/26/2023 16:50 Expel#11
This is fantastic!!
04/26/2023 19:31 lordsill#12
Quote:
Originally Posted by Natsu Dragneel View Post
Hallo,

kann man hier eigentlich auch die Mediations herbekommen?
Ja, die werden im middleman feld bei den ratings als positive and neutral angegeben (sofern du den middleman status hast, ist bei dir jetzt der Fall, aber für nicht Middleman ist hier einfach nur null)
04/26/2023 22:03 Natsu Dragneel#13
Quote:
Originally Posted by lordsill View Post
Ja, die werden im middleman feld bei den ratings als positive and neutral angegeben (sofern du den middleman status hast, ist bei dir jetzt der Fall, aber für nicht Middleman ist hier einfach nur null)
Also reicht es aus wenn ich nur die positiven, neutralen und negativen tbms herhole? Die werden so halt nicht draufgezählt. Oder muss ich einfach middleman-data ausgeben lassen mit jeweils positiv und neutral?

/edit: Hat geklappt, danke dir!