Skip to main content

A Python SDK for the Bloghunch API

Project description

Bloghunch Python SDK

This is a Python SDK for interacting with the Bloghunch API. It provides an easy-to-use interface for accessing various Bloghunch features.

Installation

You can install the Bloghunch python SDK using pip:

pip install bloghunch

Usage

Here's a quick example of how to use the bloghunch SDK:

from bloghunch import Bloghunch

# Initialize the Bloghunch client
client = Bloghunch(key="your_api_key", domain="your_domain")

# Get all posts
posts = client.get_all_posts()
print(posts)

# Get a specific post
post = client.get_post("post-slug")
print(post)

# Get comments for a post
comments = client.get_post_comments("post_id")
print(comments)

# Get all subscribers
subscribers = client.get_all_subscribers()
print(subscribers)

# Get all tags
tags = client.get_all_tags()
print(tags)

Features

  • Get all posts
  • Get a specific post by slug
  • Get comments for a post
  • Get all subscribers
  • Get all tags

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

bloghunch-0.1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

bloghunch-0.1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file bloghunch-0.1.0.1.tar.gz.

File metadata

  • Download URL: bloghunch-0.1.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bloghunch-0.1.0.1.tar.gz
Algorithm Hash digest
SHA256 15407dc36b3475cceb250c79942348a75b5115dbb6613d8e444a12bb8dcffd56
MD5 498829315010525bc191eeb870c820b9
BLAKE2b-256 ac19e77ab0cfdd751a07bec7e5e09073a3e857ea90204581e12cb7062cf364d2

See more details on using hashes here.

File details

Details for the file bloghunch-0.1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bloghunch-0.1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bloghunch-0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ad84a2d50f3f61f7ef0d559036744e85cc5b0dd7c45db1abe0b874bbed1ca4
MD5 e481831a354e4e39b1ac950fa8c7336f
BLAKE2b-256 40d94cc8cfc3f13e7f043e19f659d8f76d91bf89e05a86a43973bd77e8a6efcf

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