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://your-project.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"
)

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 a Supabase 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 Supabase project URL (e.g. https://xxx.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.1.0.tar.gz (5.5 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.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blogger_mon_sdk_py-0.1.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

Hashes for blogger_mon_sdk_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4c3d75987220d39d901c1aa4b69c89440362944c0de2742ab931537c88b10a67
MD5 c4695498cb829e56b906a71fbedb1b03
BLAKE2b-256 a196acff33b67e174e0a1647bdae24ca2391f5886916ff4d7fdc2cead8caa8f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blogger_mon_sdk_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa2f61e5661c7ef673a9d1feb03f9b30f09d8122748f4465da36986faba5ab41
MD5 8d22936481e008085b456c9ce9c29d42
BLAKE2b-256 8b88498e227cb16c2e496b867ab865a683e2b013a9829321d40d12bdb7c8446f

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