smite-python Documentation

Similar documents
PyMarvel Documentation

Mobile Application Programming: Android

Organized Play Database. Anders Lykkehoy

Package ROpenDota. R topics documented: May 16, Type Package Title Access OpenDota Services in R Version 0.1.1

Gridiron-Gurus Final Report

Paladins By Joel Rosenberg

Official Rules & Regulations Games Competition 2015 Season

League of Legends: Dynamic Team Builder

Using Geoprocessing Services with ArcGIS Web Mapping APIs

EZLBot Documentation. Release 1.0. EZLBot

DOWNLOAD OR READ : KATARINA GUIDE BUILD PDF EBOOK EPUB MOBI

python-yeelight Documentation

Grooveshark-Python Documentation

FreeStyle Manager Game Guide (

Working with Geocoding APIs

Working with Elevation Services. Cody Benkelman

Downloaded from: justpaste.it/1u2h

PS4 Remote Play review: No Farewell to Arms, but a Moveable Feast

Live Agent for Administrators

Effects of Shader Technology: Current-Generation Game Consoles and Real-Time. Graphics Applications

Flask-Alembic. Release dev

pynes Documentation Release Guto Maia

Overwatch Open Divison Program guide & sign up

osu!gatari clan system

Live Agent for Administrators

Live Agent for Administrators

Contents Commands for Agent... 2 Commands for world... 3

Matthew Fox CS229 Final Project Report Beating Daily Fantasy Football. Introduction

EVENT REPORT - KEY STATS 58,541 FOOTFALL. 43,693m² TOTAL AREA. 12 Million SOCIAL REACH

Adafruit PCA9685 Library Documentation

PlaneShift Project. Architecture Overview and Roadmap. Copyright 2005 Atomic Blue

Capcom Co., Ltd. (Tokyo Stock Exchange, First Section, 9697) Overview of Strategies and Plans Fiscal Year ending March 31, 2019

Introduction to Computer Science - PLTW #9340

Dota2 is a very popular video game currently.

COMPETITIVE GAMING DIVISION PETER MOORE CHIEF COMPETITION OFFICER

Create a origin account sims 4

Application Programming Interface for the Radio Bridge Console VERSION 1.0 DECEMBER 2018

SPREAD SOME HOLIDAY GEAR

SAP Dynamic Edge Processing IoT Edge Console - Administration Guide Version 2.0 FP01

WHAT EVERY ADVERTISER NEEDS TO KNOW About Podcast Measurement

DigiMam Conformance Statement for DICOM V3.0

Xbox 360 Manual Able Games List 2013

TOKYO GAME SHOW 2018 Visitors Survey Report

Code Hunt Contest Analytics. Judith Bishop, Microsoft Research, Redmond USA and team

Predicting Video Game Popularity With Tweets

Introducing Club Conflict

Denial. denialesports.com DenialEsports

PyLMS Documentation. Release Various

Friday the 13th game xbox one download free

Operating System Extended Service

Spatial Analysis with ArcGIS Pro. Krithica Kantharaj, Esri

Reports. Omnibus Reports. Just a game? Understanding the existing and future esports market in Australia

Xbox 360 Manual Able Games List August

Skill, Matchmaking, and Ranking. Dr. Josh Menke Sr. Systems Designer Activision Publishing

INTRODUCTION. Statistics

Live Agent for Support Supervisors

Distributed Systems 2nd Homework

Assignment 1. Due: 2:00pm, Monday 14th November 2016 This assignment counts for 25% of your final grade.

Timekeeper/Statistical tool for Basketball Sponsor: Prof. Wayne Dyksen & MSU Basketball Team Spring User Guide

Get Journalists To Cover Your Game

Terraform: Konfigurationsmanagement für Wolkendienste

Downloaded from: justpaste.it/puww

TRBOnet Mobile. User Guide. for Android. Version 2.0. Internet. US Office Neocom Software Jog Road, Suite 202 Delray Beach, FL 33446, USA

Digital Imaging and Communications in Medicine (DICOM) Supplement 39: Add Stored Print Media Storage - Retire Normalized Print Media Storage

Instructions To Get Xbox Live Gold Membership 2014 List

Sharing Data Between CAD and GIS Systems. Lien Alpert Phil Sanchez

Live Agent for Support Supervisors

Read & Download (PDF Kindle) Fantasy Football For Smart People: How To Win At Daily Fantasy Sports

Introduction to Ansible

Balancing Bandwidth and Bytes: Managing storage and transmission across a datacast network

RIOT GAMES PARTNERSHIP

Batman Arkham City Cheats Ps3 All Skins Not

Virtual Reality RPG Spoken Dialog System

Manual Gta San Andreas Pc Cheat Codes List Ps2 All Guns

Foundations of Interactive Game Design (80K) week one, lecture one

Live Agent for Support Supervisors

Ansible Bootcamp. Bruce Becker: Coordinator, Africa-Arabia ROC

mapserver Documentation

The Archery Motion pack requires the following: Motion Controller v2.23 or higher. Mixamo s free Pro Longbow Pack (using Y Bot)

FAQ and Solutions. 02 May TM and copyright Imagicle spa

RF Management in SonicOS 4.0 Enhanced

Super HUD- User Guide

Call Of Duty Black Ops Wii Level 13 Mission

Ufc xbox 360 cheats Xbox UFC UFC Cheats Xbox Xbox Cheats cheats UFC Xbox 360 cheats UFC Xbox 360 Cheats Xbox 360 UFC UFC cheats UFC

Downloaded from: justpaste.it/19o29

Counter-Strike: Global Offensive Statistics Feeds

EXPLOITING STEAM LOBBIES AND MATCHMAKING

PDF / HOW TO TURN ON THE PS4 EBOOK

DALLAS 2018 EVENT GUIDE

Microsoft touts Xbox One as all-in-one entertainment (Update 4) 21 May 2013, by Barbara Ortutay

Xbox 360 games list by release date

#! League Of Legends Riot Points Hack 2015

Downloaded from: justpaste.it/19o26

Manual Mortal Kombat Xbox 360 Move Raiden

Gta 5 cheat codes for sports cars. Gta 5 cheat codes for sports cars.zip

MapReduce: Simplified Data Processing on Large Clusters

COMP 3801 Final Project. Deducing Tier Lists for Fighting Games Mathieu Comeau

Privacy and Security in an On Demand World

Call Of Duty Black Ops Wii Level 13 Mission 11

Counter-Strike: Global Offensive Statistics Feeds

Transcription:

smite-python Documentation Release 1.0 r c2 Jayden Bailey February 06, 2017

Contents 1 API Reference 3 1.1 Main Functions.............................................. 3 1.2 Exceptions................................................ 6 1.3 Enums.................................................. 6 2 Examples 7 2.1 Getting a list of all gods......................................... 7 3 FAQ 9 3.1 How do I get a devid and authkey?................................... 9 3.2 Why am I getting a null dataset for a player that exists?......................... 9 3.3 When using methods such as SmiteClient.get_match(), some player info is missing. Why?. 9 3.4 Does this library support older versions of Python?........................... 9 3.5 Do all methods work with all endpoints?................................ 9 4 Indices and tables 11 i

ii

smite-python Documentation, Release 1.0 r c2 Contents: Contents 1

smite-python Documentation, Release 1.0 r c2 2 Contents

CHAPTER 1 API Reference The following section outlines the API of smite-python. 1.1 Main Functions class smite.smiteclient(dev_id, auth_key, lang=1) Represents a connection to the Smite API. This class is used to interact with the API and retrieve information in JSON. Note: Any player with Privacy Mode enabled in-game will return a null dataset from methods that require a player name get_data_used() Returns Returns a dictionary of daily usage limits and the stats against those limits Note: Getting your data usage does contribute to your daily API limits get_demo_details(match_id) Parameters match_id ID of the match Returns Returns information regarding a match Note: It is better practice to use get_match_details() get_esports_proleague_details() Returns Returns the matchup information for each matchup of the current esports pro league session. get_friends(player) Parameters player The player name or a player ID Returns Returns a list of friends get_god_ranks(player) Parameters player The player name or player ID 3

smite-python Documentation, Release 1.0 r c2 Returns Returns the rank and worshippers value for each God the player has played get_god_recommended_items(god_id) Parameters god_id ID of god you are querying. Can be found in get_gods return result. Returns Returns a dictionary of recommended items for a particular god get_god_skins(god_id) Param god_id: ID of god you are querying. Can be found in get_gods return result. Returns Returnss all skin information for a particular god get_gods() Returns Returns all smite Gods and their various attributes get_items() Returns Returns all Smite items and their various attributes get_league_leaderboard(queue, tier, season) Parameters queue The queue to obtain data from tier The tier to obtain data from season The season to obtain data from Returns Returns the top players for a particular league get_league_seasons(queue) Parameters queue The queue to obtain data from Returns Returns a list of seasons for a match queue get_match_details(match_id) Parameters match_id The id of the match Returns Returns a dictionary of the match and it s attributes. get_match_history(player) Parameters player The player name or player ID Returns Returns the recent matches and high level match statistics for a particular player. get_match_ids_by_queue(queue, date, hour=-1) Parameters queue The queue to obtain data from date The date to obtain data from hour The hour to obtain data from (0-23, -1 = all day) Returns Returns a list of all match IDs for a specific match queue for given time frame get_match_player_details(match_id) Parameters match_id The ID of the match Returns Returns player information for a live match get_motd() 4 Chapter 1. API Reference

smite-python Documentation, Release 1.0 r c2 Returns Returns information about the most recent Match of the Days get_player(player_name) Parameters player_name the string name of a player Returns Returns league and non-league high level data for a given player name get_player_achievements(player_id) Parameters player_id ID of a player Returns Returns a select number of achievement totals for the specified player ID get_player_status(player_name) Parameters player_name the string name of a player Returns Returns the current online status of a player get_queue_stats(player, queue) Parameters player The player name or player ID queue The id of the game mode Returns Returns match summary statistics for a player and queue get_team_details(clan_id) Parameters clan_id The id of the clan Returns Returns the details of the clan in a python dictionary get_team_match_history(clan_id) Parameters clan_id The ID of the clan. Returns Returns a history of matches from the given clan. Warning: This method is deprecated and will return a null dataset get_team_players(clan_id) Parameters clan_id The ID of the clan Returns Returns a list of players for the given clan. get_top_matches() Returns Returns the 50 most watch or most recent recorded matches ping() Returns Indicates whether the request was successful Note: Pinging the Smite API is used to establish connectivity. You do not need to authenticate your ID or key to do this. search_teams(search_team) Parameters search_team The string search term to search against Returns Returns high level information for clan names containing search_team string 1.1. Main Functions 5

smite-python Documentation, Release 1.0 r c2 1.2 Exceptions class smite.smiteerror(*args, **kwargs) class smite.noresulterror(*args, **kwargs) 1.3 Enums class smite.endpoint Valid enums: PC, PS4, XBOX 6 Chapter 1. API Reference

CHAPTER 2 Examples 2.1 Getting a list of all gods from smite import SmiteClient from smite import Endpoint # Create a new instance of the client smite = SmiteClient(1700, '2djsa8231jlsad92ka9d2jkad912j') # Print JSON data for all of the gods in the game on PC print(smite.get_gods()) # Make the library use the Xbox endpoint for future requests smite._switch_endpoint(endpoint.xbox) # Print JSON data for all of the gods in the game on Xbox print(smite.get_gods()) 7

smite-python Documentation, Release 1.0 r c2 8 Chapter 2. Examples

CHAPTER 3 FAQ 3.1 How do I get a devid and authkey? If you do not already have a developer ID and API key, you can obtain one by filling out this form. Hi-Rez Studios usually responds within a few days. 3.2 Why am I getting a null dataset for a player that exists? If a player has Hide My Profile enabled in-game, methods will return a null dataset. 3.3 When using methods such as SmiteClient.get_match(), some player info is missing. Why? If a player has Hide My Profile enabled in-game, some of their data will be unavailable for match history etc. 3.4 Does this library support older versions of Python? No. smite-python only supports Python 3.5 or higher. However, if you are using Python 3.4, you can use smython, though it may be outdated. It does not contain all possible API calls, and doesn t support the console endpoints. 3.5 Do all methods work with all endpoints? No. PC is the only endpoint guaranteed to work with all methods. 9

smite-python Documentation, Release 1.0 r c2 10 Chapter 3. FAQ

CHAPTER 4 Indices and tables genindex modindex 11

smite-python Documentation, Release 1.0 r c2 12 Chapter 4. Indices and tables

Index E Endpoint (class in smite), 6 G get_data_used() (smite.smiteclient method), 3 get_demo_details() (smite.smiteclient method), 3 get_esports_proleague_details() (smite.smiteclient method), 3 get_friends() (smite.smiteclient method), 3 get_god_ranks() (smite.smiteclient method), 3 get_god_recommended_items() (smite.smiteclient method), 4 get_god_skins() (smite.smiteclient method), 4 get_gods() (smite.smiteclient method), 4 get_items() (smite.smiteclient method), 4 get_league_leaderboard() (smite.smiteclient method), 4 get_league_seasons() (smite.smiteclient method), 4 get_match_details() (smite.smiteclient method), 4 get_match_history() (smite.smiteclient method), 4 get_match_ids_by_queue() (smite.smiteclient method), 4 get_match_player_details() (smite.smiteclient method), 4 get_motd() (smite.smiteclient method), 4 get_player() (smite.smiteclient method), 5 get_player_achievements() (smite.smiteclient method), 5 get_player_status() (smite.smiteclient method), 5 get_queue_stats() (smite.smiteclient method), 5 get_team_details() (smite.smiteclient method), 5 get_team_match_history() (smite.smiteclient method), 5 get_team_players() (smite.smiteclient method), 5 get_top_matches() (smite.smiteclient method), 5 N NoResultError (class in smite), 6 P ping() (smite.smiteclient method), 5 S search_teams() (smite.smiteclient method), 5 SmiteClient (class in smite), 3 SmiteError (class in smite), 6 13