Skip to main content

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://ysqzeskcvmalzhvjyncp.supabase.co",
    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"
)

Working in Node.js instead? Install npm install @blogger-mon/sdk and follow the TypeScript quick start in packages/blog-sdk/README.md (defaults to the same Supabase base URL).

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://ysqzeskcvmalzhvjyncp.supabase.co)
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blogger_mon_sdk_py-0.2.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blogger_mon_sdk_py-0.2.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file blogger_mon_sdk_py-0.2.1.tar.gz.

File metadata

  • Download URL: blogger_mon_sdk_py-0.2.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for blogger_mon_sdk_py-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ec09ebbbfea49687e8bf21b0600564f3731b4c03b594ce6f021ae29915475b3f
MD5 e5ea2e3b7f96476709090a2d732665cf
BLAKE2b-256 f404982dbe7fbb8d889b5b9f8f423749b1bba178399ad0404d5f2f7c88e27293

See more details on using hashes here.

File details

Details for the file blogger_mon_sdk_py-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for blogger_mon_sdk_py-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 29a511ac7bbbb904882495d092bb3aff9a13b9646ce5067a5d10d3f03db4b31b
MD5 8050d5bd371093eb4ea25f4078e80f38
BLAKE2b-256 6e24696c1a6c0d00e509ff2aaa3615ca979763922985bd3ee10d0764109bb4d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page