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
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
bloghunch-0.1.0.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for bloghunch-0.1.0.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | b0ad84a2d50f3f61f7ef0d559036744e85cc5b0dd7c45db1abe0b874bbed1ca4 |
|
| MD5 | e481831a354e4e39b1ac950fa8c7336f |
|
| BLAKE2b-256 | 40d94cc8cfc3f13e7f043e19f659d8f76d91bf89e05a86a43973bd77e8a6efcf |