Skip to content

BlogHunch Python SDK that lets you create a full featured application with BlogHunch

License

Notifications You must be signed in to change notification settings

bloghunch/bh-python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

BlogHunch Python SDK that lets you create a full featured application with BlogHunch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages