# 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:
```python
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](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/bloghunch/bh-python-sdk",
"name": "bloghunch",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Bloghunch",
"author_email": "support@bloghunch.com",
"download_url": "https://files.pythonhosted.org/packages/ac/19/e77ab0cfdd751a07bec7e5e09073a3e857ea90204581e12cb7062cf364d2/bloghunch-0.1.0.1.tar.gz",
"platform": null,
"description": "# Bloghunch Python SDK\n\nThis is a Python SDK for interacting with the Bloghunch API. It provides an easy-to-use interface for accessing various Bloghunch features.\n\n## Installation\n\nYou can install the Bloghunch python SDK using pip:\n\n```\npip install bloghunch\n```\n\n## Usage\n\nHere's a quick example of how to use the bloghunch SDK:\n\n```python\nfrom bloghunch import Bloghunch\n\n# Initialize the Bloghunch client\nclient = Bloghunch(key=\"your_api_key\", domain=\"your_domain\")\n\n# Get all posts\nposts = client.get_all_posts()\nprint(posts)\n\n# Get a specific post\npost = client.get_post(\"post-slug\")\nprint(post)\n\n# Get comments for a post\ncomments = client.get_post_comments(\"post_id\")\nprint(comments)\n\n# Get all subscribers\nsubscribers = client.get_all_subscribers()\nprint(subscribers)\n\n# Get all tags\ntags = client.get_all_tags()\nprint(tags)\n```\n\n## Features\n\n- Get all posts\n- Get a specific post by slug\n- Get comments for a post\n- Get all subscribers\n- Get all tags\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python SDK for the Bloghunch API",
"version": "0.1.0.1",
"project_urls": {
"Homepage": "https://github.com/bloghunch/bh-python-sdk"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "40d94cc8cfc3f13e7f043e19f659d8f76d91bf89e05a86a43973bd77e8a6efcf",
"md5": "e481831a354e4e39b1ac950fa8c7336f",
"sha256": "b0ad84a2d50f3f61f7ef0d559036744e85cc5b0dd7c45db1abe0b874bbed1ca4"
},
"downloads": -1,
"filename": "bloghunch-0.1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e481831a354e4e39b1ac950fa8c7336f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3332,
"upload_time": "2024-09-03T09:53:14",
"upload_time_iso_8601": "2024-09-03T09:53:14.554719Z",
"url": "https://files.pythonhosted.org/packages/40/d9/4cc8cfc3f13e7f043e19f659d8f76d91bf89e05a86a43973bd77e8a6efcf/bloghunch-0.1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ac19e77ab0cfdd751a07bec7e5e09073a3e857ea90204581e12cb7062cf364d2",
"md5": "498829315010525bc191eeb870c820b9",
"sha256": "15407dc36b3475cceb250c79942348a75b5115dbb6613d8e444a12bb8dcffd56"
},
"downloads": -1,
"filename": "bloghunch-0.1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "498829315010525bc191eeb870c820b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3381,
"upload_time": "2024-09-03T09:53:16",
"upload_time_iso_8601": "2024-09-03T09:53:16.019078Z",
"url": "https://files.pythonhosted.org/packages/ac/19/e77ab0cfdd751a07bec7e5e09073a3e857ea90204581e12cb7062cf364d2/bloghunch-0.1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-03 09:53:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bloghunch",
"github_project": "bh-python-sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "bloghunch"
}