Skip to main content

General Notification System Client SDK

Project description

GNS Python SDK

Official Python client for the General Notification System (GNS).

Installation

pip install gns-sdk

Usage

from gns_sdk import GNSClient

# Initialize client
client = GNSClient(
    base_url="http://your-gns-server:8080", 
    token="YOUR_API_TOKEN"
)

# Send a notification
response = client.send_notification(
    task_id="your-task-uuid",
    data={
        "name": "User",
        "order_id": "123456"
    },
    priority="High"
)

print(response)

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

gns_sdk_lyb-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

gns_sdk_lyb-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file gns_sdk_lyb-0.1.0.tar.gz.

File metadata

  • Download URL: gns_sdk_lyb-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for gns_sdk_lyb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 545ab5f3959e99dc1fad8b6d0f7af76660523ad24c641a856b947258694c242e
MD5 d56a63ee968b64cb27c0c779959152a2
BLAKE2b-256 7d590f7a3041ae0d55f8394bc65f2b0e85000b9fcfe2758f99da73016709ebc1

See more details on using hashes here.

File details

Details for the file gns_sdk_lyb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gns_sdk_lyb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for gns_sdk_lyb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14a48f43a5f3f51b105b7b690b801700ba1f1bae0eb0b34f5dff0598a392e96c
MD5 0e4f017444d431de7f28a71fcb049d2e
BLAKE2b-256 91ae222cb5851cd89decb080d5ce85bffd38a2f12c69958f045bbbfaa75fef34

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