A library for interacting with the STALCRAFT: X API
Project description
☢️ PYSCX
This library is designed to simplify your interaction with the STALCRAFT: X API, providing a robust and developer-friendly interface for accessing game data.
Whether you're building tools, analyzing game statistics, or creating custom applications, this library offers an intuitive way to retrieve and work with STALCRAFT: X data.
[!NOTE] STALCRAFT: X API - v1.0.0
Python 3.13+
✨ Features
- Easy-to-use interface
Designed with simplicity in mind, so you can focus on building awesome stuff! - Full coverage of endpoints Access all available API endpoints without hassle.
- Automatic data wrapping
Get your data in a clean, ready-to-use format. - Flexible token setup
Easily configure and manage your API tokens.
📦 Installation
To install the library, run the following command:
pip install pyscx
Or, if you want to install the library directly from GitHub:
pip install git+https://github.com/Oidaho/pyscx.git
🛠️ Quick Start
Here’s a quick example to get you started:
import os
from dotenv import load_dotenv
from pyscx import Server, API
from pyscx.token import Token, TokenType
load_dotenv()
app_token = Token(
value=os.getenv("DEMO_APP_ACCESS_TOKEN"),
type=TokenType.APPLICATION,
)
user_token = Token(
value=os.getenv("DEMO_USER_ACCESS_TOKEN"),
type=TokenType.USER,
)
api = API(server=Server.DEMO, tokens=[user_token, app_token])
print(api.clans(region="EU").get_all())
📚 Documentation
For detailed documentation, check out the official docs
🚀 Project Ideas
Here are some cool project ideas to inspire you:
- Auction Analyzer: Build a tool to track item prices and find profitable deals.
- Emission Tracker: Create a notification system for emission start and end times.
- Player Statistics Dashboard: Develop a dashboard to analyze player and clan stats.
- Social Tracker: Monitor friends programmatically.
🤝 Contributing
We welcome contributions! If you have ideas, suggestions, or found a bug, please open an issue or submit a pull request.
📜 License
This project is licensed under the GPL-3.0 License.
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
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 pyscx-1.1.3.tar.gz.
File metadata
- Download URL: pyscx-1.1.3.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f873f824e481b2ad8828a52a2340ee4aa036cc265de57b79c4e549584404c94
|
|
| MD5 |
12481fd42d75b16dd5d799a535cb0dc6
|
|
| BLAKE2b-256 |
dcf7292af8b8685d915a9fde8e3bbff3c22ec0ec86ceb35823c733f6e261723f
|
Provenance
The following attestation bundles were made for pyscx-1.1.3.tar.gz:
Publisher:
python-publish.yml on Oidaho/pyscx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyscx-1.1.3.tar.gz -
Subject digest:
4f873f824e481b2ad8828a52a2340ee4aa036cc265de57b79c4e549584404c94 - Sigstore transparency entry: 172113033
- Sigstore integration time:
-
Permalink:
Oidaho/pyscx@d81b245975e09bddeda2d37c9200b2ab4d6a7622 -
Branch / Tag:
refs/tags/v.1.1.3 - Owner: https://github.com/Oidaho
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d81b245975e09bddeda2d37c9200b2ab4d6a7622 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyscx-1.1.3-py3-none-any.whl.
File metadata
- Download URL: pyscx-1.1.3-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
457f2dc7ec835b674aa34fbdb1000a1b409eb8ef323f48f8968356c067a3bc3c
|
|
| MD5 |
300d3c10509e8a3d6d9d533990b87e7f
|
|
| BLAKE2b-256 |
3da556da50e86f6bd51c377fc76c5776d3784d26619ed8daf5bbed8ece2db4be
|
Provenance
The following attestation bundles were made for pyscx-1.1.3-py3-none-any.whl:
Publisher:
python-publish.yml on Oidaho/pyscx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyscx-1.1.3-py3-none-any.whl -
Subject digest:
457f2dc7ec835b674aa34fbdb1000a1b409eb8ef323f48f8968356c067a3bc3c - Sigstore transparency entry: 172113035
- Sigstore integration time:
-
Permalink:
Oidaho/pyscx@d81b245975e09bddeda2d37c9200b2ab4d6a7622 -
Branch / Tag:
refs/tags/v.1.1.3 - Owner: https://github.com/Oidaho
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d81b245975e09bddeda2d37c9200b2ab4d6a7622 -
Trigger Event:
release
-
Statement type: