Hello, I wanted to create a WoT (World of Tanks) stats command for Nightbot.
There was one page where their command worked and the bot responded:
[Player] nickname [Battles] [Win Rate] % [WN8] [Recent Win Rate] % [Recent WN8].
Unfortunately, the link has stopped working and does not show player numbers.
I looked for other options but unfortunately without success. I couldn't find any other API except WG.
https://developers.wargaming.net/reference/all/wot/account/list/?r_realm=eu
Can someone please give me some advice?
Thank you in advance
WoT stats for Nightbot
6 replies
Heya Vrana
I am a WoT streamer too !! This is actually on my "To Do" list :) I already have one public WoT API that you might like to look at and also another that does not actually run through NB but you are welcome to use if you like.
The NB one is /t/customapi-countdownssyncdrops-by-zoeballz/1534591539270127616 but can be used for other games as well.
The other, that is WoT specific, is https://zoeballz.tv/wot/_Blacklist/blacklist_friendlist_analyser.html . People can use it by just going to that link. I will be adding WN8 to it's analysis in the next couple of weeks.
What you are talking about is a lot more complicated than you think by only using the WG API, but I just got access to WoTLabs API last week which will make things a LOT easier and quicker. I will probably be working on it in the next week or so.
All the best
Zoe
Hi,
sorry i thought it wasn't that complicated :(
via WoTLabs.net it just worked. I forgot to mention that.
!commands add !stats $(urlfetch http://wotlabs.net/padderbot/?query=$(querystring))
!stats eu Nickname
But Nightbot replies: [Player] Nickname [Battles] [Win Rate] % [WN8] [Recent Win Rate] % [Recent WN8] - Statistics provided by www.WoTLabs.net
Unfortunately, the statistics numbers stopped showing.
It worked properly like this:
Example:
!stats eu Nickname
Nightbot replies: [Player] Nickname [Battles] 8303 [Win Rate] 55.93% [WN8] 1857 [Recent Win Rate] 52.8% [Recent WN8] 1927 - Statistics provided by www.WoTLabs.net
It's straight from their forum, here's the address where they offered it back then.
https://forum.wotlabs.net/index.php?/topic/28072-add-statistics-functionality…
Thx Vrana
Didn't find your answer? The community is on Discord.
Ask on Discord