Python SDK for the BloggerMon API with AI workflow helpers.
Project description
BloggerMon Python SDK
Official Python client for the BloggerMon API. Ship content workflows with a single API key, type-friendly helpers, and end-to-end AI automation.
Installation
pip install blogger-mon-sdk-py
Quick Start
from blogger_mon_sdk import BlogSDK
sdk = BlogSDK(
base_url="https://api.bloggermon.com",
api_key="bmk_your_api_key"
)
# Fetch posts
posts = sdk.get_posts(limit=5)
# Create a draft
post = sdk.create_post(
title="Hello World",
content="# Markdown content",
status="draft"
)
AI Workflow Helper
workflow = sdk.run_ai_workflow({
"user_input": "AI productivity for marketers",
"niche": "Marketing",
"target_score": 92,
"auto_publish": True,
"publish_status": "draft"
})
print(workflow["idea"]["title"])
print(workflow["analysis"]["score"])
print(workflow["final_content"])
AI endpoints require an authenticated JWT (set BLOGGERMON_SDK_JWT) or an API key configured for the AI edge functions in your deployment.
Environment Variables
| Variable | Description |
|---|---|
BLOGGERMON_SDK_BASE_URL |
API base URL (defaults to https://api.bloggermon.com) |
BLOGGERMON_SDK_API_KEY |
API key created in the BloggerMon dashboard |
BLOGGERMON_SDK_JWT |
Optional Supabase user JWT for AI endpoints |
Development
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt # optional
pip install -e .
pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blogger_mon_sdk_py-0.2.0.tar.gz.
File metadata
- Download URL: blogger_mon_sdk_py-0.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f407b29ac94d8b4dffeb7376c32e4a986654916177b36a242eedd608d15ae96b
|
|
| MD5 |
a87af84bdf84e90394af69f0bb890003
|
|
| BLAKE2b-256 |
a4262d0a909d7ef5828fa677eca275fdbc7d445a5fd7a308e81ef4430cd4fedd
|
File details
Details for the file blogger_mon_sdk_py-0.2.0-py3-none-any.whl.
File metadata
- Download URL: blogger_mon_sdk_py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcba5c942b12bce21e982e9093dc4d98570195a9ef8fcd1c719eae4578b734c1
|
|
| MD5 |
94bebcf7c86db18657c7f7fdcd7e69b3
|
|
| BLAKE2b-256 |
b4e3fec64656bf3bd8d98983f22ffdd602d747e523b874c02053d5c1e6142b60
|