Skip to main content

A library for interacting with the STALCRAFT: X API

Project description

pyscx

Technical banner

GitHub Release GitHub Downloads

GitHub watchers GitHub Repo stars

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


✨ 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 stalcraft-api

Or, if you want to install the library directly from GitHub:

pip install git+https://github.com/yourusername/stalcraft-api.git

🛠️ Quick Start

Here’s a quick example to get you started:

mport os
from dotenv import load_dotenv

from pyscx import Server, API
from pyscx.token import Token, TokenType
from pprint import pprint


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])

pprint(api.regions.get_all(region="RU"))

📚 Documentation

For detailed documentation, check out the official docs

* at the moment, the link doesn't lead anywhere.

🚀 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

pyscx-1.0.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyscx-1.0.0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file pyscx-1.0.0.tar.gz.

File metadata

  • Download URL: pyscx-1.0.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyscx-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d2b1a85e423aa82aa123950c65bc3890529bb2c3110c5973fd783c8a6f1ca446
MD5 0e5d3fd6bfc6051395c8ee2625802bc3
BLAKE2b-256 285ad711b30c0d5a2d9cd56f5582c6312c01d6d6378ee8ab5050646a91d9047a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyscx-1.0.0.tar.gz:

Publisher: python-publish.yml on Oidaho/pyscx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyscx-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyscx-1.0.0-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

Hashes for pyscx-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b132662b0fb1122c8c37042a6ef074ff5d2e7fda0ac2be5c98591eb75d51dd34
MD5 43049fdbf022d342b620e89d7af0ab14
BLAKE2b-256 2ef9e135b45d4eb55acb43ecadea4fed05e2ec511778f8d4944b823c01e70045

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyscx-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on Oidaho/pyscx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page