Used for accessing the API to request various information about Hi-Rez studios two games
- Make an instance of
SmiteAPI(dev_id,auth_key)
- Call a method to request the data you want
api = SmiteAPI(dev_id, auth_key)
api.get_gods() #this returns your json data
That was easy!
Arguments for most methods are passed in as List[str], multiple arguments will be held in their own list
api = SmiteAPI(dev_id, auth_key)
api.get_queue_stats(['Playername'], ['435'])
api.get_gods()
api = PaladinsAPI(dev_id, auth_key)
api.get_bounty_items()
api.get_champions()
Included is the god_csv.py
file, this give an example of using the api wrapper to fetch data and then process it to a csv file
You can then graph the data using python all with a few lines of code!