Python wrapper for https://apexlegendsapi.com
Project description
apex-legends-api
Python wrapper for https://apexlegendsapi.com
Installation
You can install it from source, or pip (recommended)
Requirements
python >= 3.6
Source installation
python ./setup.py install
Pip installation
pip install apex-legends-api
Usage
- Register for an API Key at Apex Legends API
- Here's a quick snippet to get started
- All method calls return a dictionary representing the JSON in the response.
from apex_legends_api.base_api import ApexLegendsAPI
from apex_legends_api.base_api import Platform
from apex_legends_api.base_api import Action
api = ApexLegendsAPI(api_key='<api_key>')
player = '<PlayerName>'
platform = Platform.PC
action = Action.GET
basic = api.basic_player_stats(player_name=player, platform=platform)
history = api.match_history(player_name=player, platform=platform, action=action)
player = api.get_player_origin(player_name=player, platform=platform)
Notes
- See https://apexlegendsapi.com for complete documentation.
- See CHANGELOG.md for history of changes
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.