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.
Metadata
Release files for xbox-python-api 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xbox_python_api-0.2.2.tar.gz | 10.0 kB | Without provenance | Details for xbox_python_api-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xbox_python_api-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for xbox_python_api-0.2.2-py3-none-any.whl |
Total release size: 22.8 kB
Release files / xbox_python_api-0.2.2.tar.gz
| Download URL | xbox_python_api-0.2.2.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22efd6ed8fe43bea6d8242cf1cb53241270d6d1a7af2a46346244638854739c8
|
|
BLAKE2b-256 checksum How to use checksums |
88ee1994aedc560fed84add334420918eb35b7680119bb985537c3922704cb55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / xbox_python_api-0.2.2-py3-none-any.whl
| Download URL | xbox_python_api-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5371b535b54e4c8131de9e521f360e8191991f560c8ebca077e1a254f9d3eeb
|
|
BLAKE2b-256 checksum How to use checksums |
0e8561252868c4c6e46a1a2985806a528d678fef46f4a190cbf862e5bf0fe532
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for xbox-python-api 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.