Skip to main content

gstcranes

Official GST Cranes Python SDK for public read-only API discovery, Crane Wiki company records, OpenAPI metadata, and webhook signature verification.

The package only calls public read endpoints. Account actions such as listing creation, wanted-ad publishing, credits, promotions, saved alerts, and billing stay in the signed-in GST Cranes browser UI.

Install

pip install gstcranes

PyPI package: https://pypi.org/project/gstcranes/

Client

from gstcranes import GstCranesClient

client = GstCranesClient()
companies = client.list_companies(country="DE", limit=10)
company = client.get_company("bms-heavy-cranes")
answer = client.ask("companies with Liebherr LTM 1750 records")

Webhook verification

Use the raw request body exactly as received, the GST-Webhook-Timestamp header, the GST-Webhook-Signature header, and the endpoint secret shown once when you create a webhook endpoint.

from gstcranes import verify_webhook_signature

verify_webhook_signature(
    raw_body,
    timestamp=request.headers["GST-Webhook-Timestamp"],
    signature=request.headers["GST-Webhook-Signature"],
    secret=GST_WEBHOOK_SECRET,
)

The verifier raises WebhookSignatureError if the timestamp is stale or the HMAC-SHA256 signature does not match.

Official resources

Release files for gstcranes 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gstcranes 0.1.0
File Size Uploaded
gstcranes-0.1.0.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gstcranes 0.1.0
File Interpreter ABI Platform
gstcranes-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / gstcranes-0.1.0.tar.gz

Download URL gstcranes-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6e86fd63cdbfcd7c6c13414af99a90fec6ebc5546e513d00111ff11fec4da505
BLAKE2b-256 checksum
How to use checksums
50d07efb6b76b115b81cf126e715666f4c83daf8b7986630e36601fbdcb219fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / gstcranes-0.1.0-py3-none-any.whl

Download URL gstcranes-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0483fa6f2d82809e1457978a5edf6f6867d2dd7b427dea7c5b76e7b17356dfc
BLAKE2b-256 checksum
How to use checksums
cb250eea60f3e734f4364f95acd5d59bf9cf052ad22ddc06ee36b81e712de9f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page