With this script you can use 2 classes: SmiteAPI( ) or PaladinsAPI( ) to create requests to the HiRez API in a straightforward and clear way. All methods will return data in json format. Both classes inherit all of the methods from the parent class HiRezAPI( ) and each has its own exclusive methods listed below
api = SmiteAPI(dev_id, auth_key)
god_data = api.get_gods( )
Or if you want Paladins data
api = PaladinsAPI(dev_id, auth_key)
champion_data = api.get_champions( )
Arguments are always Lists containing Strings unless there are no args
api = SmiteAPI(dev_id, auth_key)
player_id = api.get_player_id(["USERNAME"])
match_history_json = api.get_match_history([player_id])
get_champions( )
Returns all Champions and their various attributes
get_champion_cards( )
Returns all Champion cards
get_champion_leaderboard( )
Returns the current season’s leaderboard for a champion/queue combination
get_champion_skins( )
Returns all available skins for a particular Champion
get_champion_ranks( )
Returns the Rank and Worshippers value for each Champion a player has played
get_player_loadouts( )
Returns deck loadouts per Champion
get_bounty_items( )
Returns daily Bounty Item history for the past 6 months.
get_gods( )
Returns all Gods and their various attributes
get_god_skins( )
Returns all available skins for a particular God
get_god_leaderboard( )
Returns the current season’s leaderboard for a god/queue combination
get_god_recommended_items( )
Returns the Recommended Items for a particular God
get_god_ranks( )
Returns the Rank and Worshippers value for each God a player has played
get_player_achievements( )
Returns select achievement totals for the specified playerId
search_teams( )
Returns high level information for Clan names containing the Clan name
get_motd( )
Returns information about the 20 most recent Match-of-the-Days
ping( )
A quick way of validating access to the Hi-Rez API
get_patch_info( )
Function returns information about current deployed patch.
Currently, this information only includes patch version
get_player_id( )
Returns a player id, which is used for other function calls
get_player_status( )
Returns players current online status
get_match_details( )
Returns the statistics for a particular completed match
get_league_seasons( )
Provides a list of seasons and rounds (including the single active season) for a match queue
get_team_players( )
Lists the players for a particular clan
get_data_used( )
Returns API Developer daily usage limits and the current status against those limits
get_items( )
Returns all Items and their various attributes
search_players( )
Returns player_id values for all names and/or gamer_tags containing the “searchPlayer” string
get_match_history( )
Gets recent matches and high level match statistics for a particular player
get_queue_stats( )
Returns match summary statistics for a (player, queue) combination grouped by gods played
get_league_leaderboard( )
Returns the top players for a particular league (as indicated by the queue/tier/round parameters).
Note: the “Season” for which the Round is associated is by default the current/active Season
get_server_status( )
Function returns UP/DOWN status for the primary game/platform environments
Data is cached once a minute
get_player( )
Returns league and other high level data for a particular player
get_friends( )
Returns the Smite User names of each of the player’s friends [PC only]
get_matchids_by_queue( )
Lists all Match IDs for a particular Match Queue
get_top_matches( )
Lists the 50 most watched / most recent recorded matches
get_team_details( )
Lists the number of players and other high level details for a particular clan
get_esports_proleague_details( )
Returns the matchup information for each matchup for the current eSports Pro League season