Node.js library for the Mautic REST API
yarn add nautic
Instantiate a new client by providing your Mautic domain, along with your Mautic username and password.
This library uses the basic authentication method when making requests to the Mautic API.
const MauticClient = new Nautic({
apiUrl: 'https://pawnee.mautic.net/api',
username: 'ronswanson',
password: '••••••'
})