Skip to main content

Python library for communicating with Engagespot REST API.

Project description

This is the official Python library for communicating with Engagespot REST API. Send multi-channel notifications from your python app.

Installation

pip install engagespot

Prerequisites

You need Engagespot API KEY and API SECRET from your dashboard to get started. If you don't have one, just get one for free.

Sending a notification

from engagespot import Engagespot


client = Engagespot(api_key="ENGAGESPOT_API_KEY", api_secret="ENGAGESPOT_API_SECRET")

send_request = {
    "notification": {
        "title":"Test from Python library🔥"
    },
    "recipients":["uid_123456"]
}
    
response = client.send(send_request)

Refer Engagespot REST API Docs to get the list of all supported parameters.

Creating or updating a user

user_profile = {
    "name" : "Python User",
    "email" : "python@engagespot.co"
}

response = client.create_or_update_user("pythonuser2");

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

engagespot-0.0.2.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

engagespot-0.0.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

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