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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15407dc36b3475cceb250c79942348a75b5115dbb6613d8e444a12bb8dcffd56
|
|
| MD5 |
498829315010525bc191eeb870c820b9
|
|
| BLAKE2b-256 |
ac19e77ab0cfdd751a07bec7e5e09073a3e857ea90204581e12cb7062cf364d2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0ad84a2d50f3f61f7ef0d559036744e85cc5b0dd7c45db1abe0b874bbed1ca4
|
|
| MD5 |
e481831a354e4e39b1ac950fa8c7336f
|
|
| BLAKE2b-256 |
40d94cc8cfc3f13e7f043e19f659d8f76d91bf89e05a86a43973bd77e8a6efcf
|