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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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