Xbox API library
Project description
Xbox Python API
Xbox Python API wrapper based on https://xbl.io.
Installation
pip install xbox-python-api
Usage
Create an instance of the XPA class with your API key.
from xpa import XPA
xpa = XPA(api_key="YOUR_API_KEY")
Code example
from xpa import XPA
xpa = XPA(api_key="YOUR_API_KEY")
# Get account gamertag
account_info = xpa.get_account_info_xuid(xuid="xuid")
print(account_info.Gamertag)
# Get user presence
presence = xpa.get_presence(xuid="xuid")
print(presence.devices)
Full documentation can be found here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xbox_python_api-0.2.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xbox_python_api-0.2.tar.gz.
File metadata
- Download URL: xbox_python_api-0.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee27b1d2797c5cab64d5ebfd5698bc55cb9c705ddbfb1cdc9fb0c24e13676e7e
|
|
| MD5 |
f9efddf032f58152c4c82359ceb19472
|
|
| BLAKE2b-256 |
d860d58c9bf2b085e6007ed7c4cf7538c633c61040903f99f6648c10eea91527
|
File details
Details for the file xbox_python_api-0.2-py3-none-any.whl.
File metadata
- Download URL: xbox_python_api-0.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33dcca293a8cf8a1e9d42fdec0daa09b3da6586ef226a5c4722a3f1c9e9089c6
|
|
| MD5 |
c274fa47461436a049057d46a52f66c9
|
|
| BLAKE2b-256 |
421fc4f203a9d4488ada246c711ad9bb7b26b8efbc40b86714b4ead7fba38d1f
|