Knuckles-Team / listmonk-api

Listmonk Python API Wrapper
MIT License
5 stars 2 forks source link
api listmonk listmonk-api python

Listmonk API

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 0.3.1

Listmonk API Python Wrapper

This repository is actively maintained - Contributions are welcome!

API Calls:

Usage: ```python #!/usr/bin/python # coding: utf-8 import listmonk_api username = "" password = "" listmonk_api_url = "" client = listmonk_api.Api(url=listmonk_api_url, username=username, password=password) lists = client.get_lists() print(f"Lists: {lists}") created_list = client.create_list(name="EXAMPLE TEMPLATE", type="", optin="", tags=['']) print(f"Created List: {created_list}") created_campaign = client.create_campaign(name="EXAMPLE TEMPLATE", type="", optin="", tags=['']) print(f"Created Campaign: {created_campaign}") print(f"Subscribers: {client.get_subscribers()}") print(f"Campaigns: {client.get_campaigns()}") ```
Installation Instructions: Install Python Package ```bash python -m pip install listmonk-api ```
Repository Owners: ![GitHub followers](https://img.shields.io/github/followers/Knucklessg1) ![GitHub User's stars](https://img.shields.io/github/stars/Knucklessg1)