A thin wrapper for <OPENDOTA/> API
Project description
<OPENDOTA/> API
A thin wrapper for <OPENDOTA/> API
Free software: MIT license
Documentation: https://pyopendota.readthedocs.io.
Features
Transparent wrapper for majority of the API calls
Ability to authenticate using API key
In-built and cusomizable limit to protect against frequent API calls
Local file-based storage for frequent requests
Usage
To use <OPENDOTA/> API in a project:
import opendota client = opendota.OpenDota() # Get common entities client.get_matches('match-id') client.get_player('player-id') client.get_team('team-id') # Search Functionality players = client.search_player('Dendi') teams = client.search_team('Alliance') heroes = client.search_hero('Crystal') leagues = client.search_league('International') # Database Schema client.get_schema() client.get_schema('matches') # Arbitrary Query client.explorer("select * from matches where limit 1")
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2021-07-20)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyopendota-0.1.1.tar.gz
(14.8 kB
view hashes)
Built Distribution
Close
Hashes for pyopendota-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38adfb7e8c2cf8a529ca6aefd848d824ab49fc8d971f8ffec30ef24b9a9dbe70 |
|
MD5 | 54ac2f62caeabefcee53ba407429f3ca |
|
BLAKE2b-256 | 8bf0384da0fe9e313ba2be29bbfa786e41cdfb54308fd207fea3df396cd437ac |