Skip to content

Wrapper for the Smite and Paladins Api, written in Python

Notifications You must be signed in to change notification settings

odinmay/smite-paladins-api-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smite-paladins-api-wrapper

Wrapper for the Smite and Paladins Api, written in Python

Used for accessing the API to request various information about Hi-Rez studios two games

How to use:

  • Make an instance of SmiteAPI(dev_id,auth_key)
  • Call a method to request the data you want
Example:
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

Example:

For Smite

api = SmiteAPI(dev_id, auth_key)
api.get_queue_stats(['Playername'], ['435'])
api.get_gods()

For Paladins

api = PaladinsAPI(dev_id, auth_key)
api.get_bounty_items()
api.get_champions()

Example Usage

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!


Assassins_Health Graph


Guardian_Health Graph


Hunter_Health Graph


Mage_Health Graph


Warrior_Health Graph

About

Wrapper for the Smite and Paladins Api, written in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages