Official Python client for the Signalgrid push-notification API.
pip install signalgridfrom signalgrid.client import Client
client = Client("YOUR_CLIENT_KEY")
response = client.send({
"channel": "CHANNEL_TOKEN",
"type": "info",
"title": "Hello from Python",
"body": "This message was sent from a test project.",
"critical": False
})
print(response){
"ruuid":"bc0e212110067ff2995abff087a4a58c8d843ae9",
"text":"OK",
"code":"200",
"node":"dp03",
"time":"440ms",
"remaining":"99917"
}