dtintegrations package let’s you integrate with services in only a single line of code.
The package can be installed through pip:
pip install --upgrade dtintegrations
Support is available for Python 3.7+.
Methods are namespaced under various modules and can be accessed as required.
The following example validates the incoming request at a simple flask server.
from dtintegrations import data_connector, provider event, labels = data_connector.http_push.validate( request, provider_name=provider.FLASK, secret=os.getenv('<YOUR_SIGNATURE_SECRET>'), )
See the Examples section for more in-depth integrations.