RE: Python code for identifying Splinterlands' best brawlers.
You are viewing a single comment's thread:
Great post...👏
I need to start experimenting more with the brawl api.
Also the post about the top tier players is nice just missing my name 🤣.
See some regular names that also competing well in tournaments.
0
0
0.000
Another cool thing about it is that you can go back and get all your own match data too, from all brawls you ever played. (Thats the same for tournament's but I don't know how to retrieve tournament ids when they are no longer visible in the list on the site).
yeah that is where i think you need to use the hive blockchain.
For that i use the hive python package (beem)
Here is some example code:
This will only be valid with tournaments that have an entry fee i think.
The calls that i use are defined in this file:
https://github.com/gamerbeaker007/splinterlands-statistics/blob/main/src/api/hive.py
Not the nicest code (with retries and node selections etc)... but it works for my use case :)
I did not test to see if this works when used with years old information. My use case is just tournaments of last season