pogopowerupcost makes it easy to calculate how much stardust and candy it takes to power-up a Pokémon from level a
to level b
in Pokémon GO.
Using pip:
$ pip install pogopowerupcost
from pogopowerupcost import calculate_powerup_cost
cost = calculate_powerup_cost(4.5, 20)
print(cost)
# → {'stardust': 43000, 'candy': 49}
Mathias Bynens |
pogopowerupcost is available under the MIT license.