game-apis

This repository is for integrating with different apis to allow you to pull player or game data


Keywords
dota2, dota2api, fortnite, fortnite-api, fortnite-stats, fortnite-tracker-api, fortnitetracker, league-api, league-of-legends, leagueoflegends, pubg, pubg-api, pubgapi, python, python-3, python3, rainbow-six-siege, rainbow6, rainbow6statsfinder, riot
License
MIT
Install
pip install game-apis==1.0.0

Documentation

game_apis

This repository is for integrating with different apis to allow you to pull player or game data

Install

To install the api so it's importable do:
sudo python3 setup.py install

Once it's installed you can do
from game_apis.rest import Rest

Run tests

To run all unit tests in a file do:
python3 -m unittest test.rest.test_open_dota

To run a specific unit test do:
python3 -m unittest test.rest.test_open_dota.TestOpenDota.test_get_lane_roles

Using API

Initialize the rest class with
api = Rest('<path to config.yaml>')

You can find the implemented apis with
api.lookup

An example usage of this repo is

riot = Rest('config.yaml').Riot
hello = riot.hello_world()