Skip to main content

API CLI - Multi-Stage Activation Client

Project description

GabungV2 Client (v0.5.0)

GabungV2 Multi-Stage Activation Client - Python package for API authentication and device management.

Installation

From PyPI (recommended)

pip install gabungv2-client

From source

pip install .

Editable install (development)

pip install -e .

CLI Usage

After installation, run:

gabungv2-client

Or use the module directly:

python -m gabungv2_client

Python API Usage

from gabungv2_client import APIClient, APIConfig, DeviceManager

# Create configuration
config = APIConfig(base_url="http://your-server.com/api/api_v3.php")

# Create client
client = APIClient(config)

# Get device info
device_mgr = DeviceManager()
drive_id = device_mgr.get_drive_id()
uuid = device_mgr.get_device_uuid()
fingerprint = device_mgr.get_fingerprint()

# Login
response = client.login(
    username="your_username",
    password="your_password",
    drive_id=drive_id,
    device_uuid=uuid,
    device_fingerprint=fingerprint
)

if response.is_success():
    print(f"Login successful: {response.user_details}")

Package Structure

gabungv2_client/
├── __init__.py      # Public API exports
├── __main__.py      # CLI entry point
├── config.py        # APIConfig class
├── models.py        # Data models (UserDetails, DriveDetails, etc.)
├── exceptions.py    # Custom exceptions
├── device.py       # DeviceManager class
├── client.py       # APIClient class + create_client()
└── app.py          # ClientApp CLI application

Requirements

  • Python >= 3.8
  • requests >= 2.28.0
  • rich >= 13.0.0

License

MIT License - see LICENSE file.

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

api_cli_kit-0.5.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

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

api_cli_kit-0.5.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file api_cli_kit-0.5.0.tar.gz.

File metadata

  • Download URL: api_cli_kit-0.5.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for api_cli_kit-0.5.0.tar.gz
Algorithm Hash digest
SHA256 896d46449e0ec233089d7ca2da637015f3f1cb9f062707956f85ec37d5c0c3ed
MD5 6ab2a44206f1e92f663409791a0f8b81
BLAKE2b-256 092171f277f1c91b94120ae7134b03be215ae0645f8a0e2c1b02be32d1a3991c

See more details on using hashes here.

File details

Details for the file api_cli_kit-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: api_cli_kit-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for api_cli_kit-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4fc2d27e2be1886d9b4a52ec631e089d202ee1b44b3463df31990a835c8890e
MD5 b2b7b487fab01cb47f4d0d735a858ab3
BLAKE2b-256 942d43d8aa7bdb1629054e6a353394465f5abccadceaae1c71ce27d921ddf782

See more details on using hashes here.

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