https://github.com/Knuckles-Team/listmonk-api
Listmonk Python API Wrapper
https://github.com/Knuckles-Team/listmonk-api
api listmonk listmonk-api python
Last synced: 3 months ago
JSON representation
Listmonk Python API Wrapper
- Host: GitHub
- URL: https://github.com/Knuckles-Team/listmonk-api
- Owner: Knuckles-Team
- License: mit
- Created: 2022-11-11T16:24:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T03:50:19.000Z (about 1 year ago)
- Last Synced: 2025-03-01T16:50:13.864Z (3 months ago)
- Topics: api, listmonk, listmonk-api, python
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Listmonk API














*Version: 0.3.1*
Listmonk API Python Wrapper
This repository is actively maintained - Contributions are welcome!
### API Calls:
- Subscribers
- Lists
- Import
- Campaigns
- Media
- Templates
- TransactionalUsage:
```python
#!/usr/bin/python
# coding: utf-8
import listmonk_apiusername = ""
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:

