RE: Personal SteemMonsters cards usage + winratio + DEC | 23rd season

avatar
(Edited)

You are viewing a single comment's thread:

great! i'd like to get a report for me, too. How did you create that script?



0
0
0.000
4 comments
avatar

Basically I do it in two steps. First, I query battle data from Steemmonsters API and save it to my local database.
https://api.steemmonsters.io/transactions/history?limit=1000&types=sm_battle&from_block=36080128

From this API you can query 1000 battles at once, so you need to take care of from_block parameter. I start from the latest block, query 1000 battles, remember the lowest block number and in the next iteration start from this new block number (from_block parameter).

Last season started at block 36437549 and ended at block 36875825.

This is how the example record looks like:

The field result contains the most important data like player names, dec reward, used cards.

When all data are in the local database you have to only iterate over all battles and count DEC rewards, and usage / winratio for each player.

PS I plan to make a simple website where anyone can check these stats at any time.


..
Playerschneegecko
Battles analyzed417
DEC earned38484
Season23

MONSTERS

Usage%MonsterWLWinratioDEC
34.53%Cocatrice964866.67%14424
33.09%Creeping Ooze885063.77%13941
31.65%Lord Arianthus815161.36%12214
24.94%Swamp Thing663863.46%9950
21.82%Earth Elemental553660.44%8293
21.58%Elven Cutthroat583264.44%8912
16.55%Feral Spirit422760.87%6471
16.07%Spirit of the Forest462168.66%6557
12.47%Crustacean King312159.62%4096
11.03%Brownie311567.39%4745
10.79%Armorsmith311468.89%4729
10.55%Javelin Thrower251956.82%3655
10.07%Centaur301271.43%4327
9.83%Enchanted Pixie221953.66%3246
9.59%Angel of Light291172.50%4681
9.59%Goblin Shaman251562.50%3797
8.63%Serpentine Soldier231363.89%3790
8.39%Silvershield Bard26974.29%4088
8.39%Medusa181751.43%2497
8.39%Silvershield Paladin181751.43%2650
8.15%Gold Dragon221264.71%3168
8.15%Wood Nymph191555.88%2726
7.91%Kobold Miner191457.58%3026
7.67%Elemental Phoenix171553.12%2613
7.19%Cerberus171356.67%2589
7.19%Exploding Dwarf191163.33%3259
6.71%Flame Imp151353.57%2242
6.47%Divine Healer151255.56%2352
6.00%Goblin Sorcerer16964.00%2347
6.00%Pirate Archer141156.00%2025
6.00%Mischievous Mermaid151060.00%2268
6.00%Lord of Darkness141156.00%1873
5.52%Crystal Werewolf15865.22%2257
5.04%Peaceful Giant12957.14%1797
5.04%Skeleton Assassin13861.90%1709
4.80%Magi Sphinx91145.00%1526
4.56%Defender of Truth11857.89%1691
4.56%Hydra91047.37%1533
4.56%Mushroom Seer10952.63%1477
4.32%Fiendish Harpy12666.67%1902
4.32%Highland Archer10855.56%1543
4.32%Naga Warrior12666.67%1597
4.08%Ruler of the Seas10758.82%1600
4.08%Dwarven Wizard61135.29%1075
4.08%Goblin Chef12570.59%2023
3.84%Magi of the Forest8850.00%1332
3.84%Mermaid Healer8850.00%1142
3.60%Cyclops51033.33%525
3.12%Electric Eels11284.62%1506
3.12%Flesh Golem7653.85%1130
3.12%Giant Roc4930.77%647
3.12%Corrupted Pegasus9469.23%1356
2.88%Undead Priest8466.67%1014
2.88%Spineback Turtle7558.33%783
2.64%Stone Golem6554.55%966
2.40%Imp Bowman6460.00%785
2.16%Divine Sorceress7277.78%1030
2.16%Enchanted Defender4544.44%650
2.16%Serpent of the Flame4544.44%866
2.16%Peacebringer3633.33%498
1.92%Sacred Unicorn3537.50%436
1.92%Sea Genie6275.00%765
1.92%Pirate Captain4450.00%386
1.68%Haunted Spirit6185.71%819
1.44%Spineback Wolf4266.67%668
1.44%Water Elemental3350.00%328
1.44%Manticore3350.00%444
1.44%Sabre Shark2433.33%177
1.44%Haunted Spider5183.33%551
1.20%Black Dragon2340.00%232
1.20%Fire Demon3260.00%432
1.20%Raging Impaler2340.00%231
1.20%Silvershield Knight3260.00%499
1.20%Silvershield Warrior1420.00%154
1.20%Prismatic Energy3260.00%258
1.20%Air Elemental1420.00%161
0.72%Fire Beetle30100.00%459
0.72%Skeletal Warrior2166.67%274
0.72%Silvershield Archers30100.00%560
0.72%Minotaur Warrior1233.33%220
0.48%Shin-Lo1150.00%107
0.48%Lightning Dragon20100.00%289
0.48%Frost Giant1150.00%154
0.48%Dragonling Bowman20100.00%212
0.48%Grumpy Dwarf20100.00%337
0.24%Undead Archer10100.00%162
0.24%Red Dragon10100.00%137
0.24%Twisted Jester10100.00%128
0.24%Animated Corpse10100.00%181
0.24%Minotaur Warlord010.00%0
0.24%Molten Ogre010.00%0

SUMMONERS

Usage%SummonerWLWinratioDEC
20.14%Prince Rennyn523261.90%7640
13.43%Plado Emberstorm332358.93%5305
12.23%Tyrus Paladium351668.63%5289
10.31%Selenia Sky291467.44%4129
6.24%Valnamor141253.85%2065
5.28%Xander Foxwood13959.09%1941
5.04%Kiara Lightbringer13861.90%2219
4.32%The Peakrider10855.56%1488
3.84%Crypt Mancer10662.50%1278
3.36%Talia Firestorm7750.00%1171
3.12%Xia Seachan8561.54%883
3.12%Alric Stormbringer6746.15%914
2.88%Lyanna Natura7558.33%1081
1.92%Daria Dragonscale5362.50%731
1.92%Zintar Mortalis5362.50%802
1.44%Jarlax the Undead4266.67%509
0.96%Archmage Arius040.00%0
0.48%Malric Inferno1150.00%203
0
0
0.000
avatar

PS I plan to make a simple website where anyone can check these stats at any time.

Wow that would be awesome! Think all this work consumes a lot of your time?

0
0
0.000
avatar

Data analysis is my job, so I like to do it even for a game like SteemMonsters :) And if I have these stats for myself, why not share with others.

..
Playerguchtere
Battles analyzed708
DEC earned8648
Season23

MONSTERS

Usage%MonsterWLWinratioDEC
40.82%Twisted Jester17711261.25%4383
40.54%Skeleton Assassin17910862.37%4469
40.11%Undead Priest16511958.10%4107
36.58%Haunted Spider14811157.14%3721
33.47%Haunted Spirit1597867.09%3817
20.62%Goblin Mech529435.62%1350
16.95%Creeping Ooze576347.50%1393
14.69%Feral Spirit10949.62%200
13.56%Divine Healer128412.50%219
11.44%Phantom Soldier324939.51%752
10.59%Pirate Captain255033.33%641
10.03%Crustacean King234832.39%568
9.89%Peacebringer115915.71%195
9.60%Animated Corpse462267.65%1269
9.60%Sea Monster204829.41%566
9.32%Stonesplitter Orc343251.52%804
9.18%Screaming Banshee362955.38%972
9.04%Skeletal Warrior412364.06%925
8.90%Mushroom Seer303347.62%733
8.90%Sacred Unicorn105315.87%186
8.33%Frozen Soldier194032.20%446
8.05%Wood Nymph302752.63%698
7.91%Spineback Wolf332358.93%821
7.77%Water Elemental183732.73%460
6.36%Spineback Turtle133228.89%389
6.21%Medusa103422.73%240
6.21%Crystal Werewolf73715.91%142
6.07%Pirate Archer123127.91%274
5.93%Brownie241857.14%573
5.79%Prismatic Energy103124.39%241
5.51%Ruler of the Seas102925.64%250
5.23%Silvershield Archers53213.51%87
4.52%Vampire141843.75%419
4.52%Earth Elemental171553.12%404
4.52%Armorsmith52715.62%104
3.95%Divine Sorceress52317.86%95
3.25%Sea Genie51821.74%167
3.25%Javelin Thrower121152.17%310
2.97%Minotaur Warrior101147.62%262
2.40%Goblin Sorcerer8947.06%191
2.26%Silvershield Knight1156.25%15
2.12%Sabre Shark1146.67%27
1.84%Silvershield Warrior1127.69%21
1.41%Elven Cutthroat4640.00%103
1.41%Enchanted Pixie2820.00%40
1.13%Grumpy Dwarf3537.50%75
0.85%Undead Archer2433.33%47
0.42%Magi of the Forest030.00%0
0.42%Clay Golem030.00%0
0.28%Cocatrice020.00%0
0.14%Dark Enchantress010.00%0
0.14%Flesh Golem010.00%0
0.14%Air Elemental010.00%0
0.14%Undead Minotaur010.00%0

SUMMONERS

Usage%SummonerWLWinratioDEC
51.69%Zintar Mortalis22014660.11%5466
19.63%Alric Stormbringer409928.78%1054
18.22%Tyrus Paladium1811113.95%335
10.45%Lyanna Natura363848.65%843
0
0
0.000
avatar

Data analysis is my job, so I like to do it even for a game like SteemMonsters :) And if I have these stats for myself, why not share with others.

Great thing you're doing with the analysis. Even although it is your job, think you're making a lot of people happy with it.

What data are you analysing jobwise?

0
0
0.000