# import the class
from manarion-data-vis import ManarionDataVis
if __name__ == "__main__":
# define only once the parameters
guild_id = 30
guild_api = "abcd-12345-6789"
params = {'a': 1, 'b': 2} # <-- any other parameter, possibly optional (advanced)
# create the class and store the parameters
mana = ManarionDataVis(
gild_id = guild_id,
guild_api = guild_api,
**params # <-- spend a little time understanding *args and **params (advanced)
)
# display dust income
mana.vis_dustincome() # <-- notice that we're calling the method (function) belonging to the class
# display battle income
mana.vis_battleexpincome()
# ... rest of the methods you want to showcase