Skip to main content
===========
MauticAPI
===========

** Caution **
This is work under construction
***************

To use::

from mauticapi.mautic import MauticApi

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

api.create_lead(**dict_of_lead_data_using_mautic_lead_field_names)


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)

Release files for mauticapi 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mauticapi 0.2
File Size Uploaded
mauticapi-0.2.tar.gz 2.3 kB Details

Release files / mauticapi-0.2.tar.gz

Download URL mauticapi-0.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd2d45cd914a756a3618beedf77b2af8b143639defac73d78a1de98c456e531c
BLAKE2b-256 checksum
How to use checksums
6a8853e5e8ddd0737a38aac17a60f37a6e68de871f2c0c9361e15678adb1bb8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page