Skip to main content

An API for Mautic

Project description


** Caution **
This is work under construction

To use::

from mauticapi.mautic import MauticApi

api = MauticApi(
**{"access_token":access_token, "access_token_secret":access_token_secret})


This also includes a utility functions to retrieve Mautic OAuth1.0A access token, from the command line::

1) Initialize MauticApi (m = MauticApi(host, public, secret))
2) Call request_and_authorize, and go to the returned URL in your browser (m.request_and_authorize())
3) Approve the application
4) Call get_access_token passing the oauth_verifier parameter (m.get_access_token(verifier))
5) Get the access token from access_token (m.access_token)
6) Get the access token secret from access_token_secret (m.access_token_secret)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mauticapi, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size mauticapi-0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page