Welcome to the Poodle Python SDK! This library helps you integrate email communication into your applications. With Poodle, you can manage transactional emails and marketing campaigns with ease.
Poodle Python SDK provides a simple way to manage customer communications through email. Whether you are sending a single transactional email or managing a full marketing campaign, this SDK offers the tools you need.
- Transactional Emails: Send emails triggered by user actions.
- Email Marketing: Create and manage marketing campaigns.
- Easy Integration: Simple setup and straightforward API.
- Python 3 Compatible: Built to work seamlessly with Python 3.
- Support for Multiple Email Providers: Flexibility to choose your email service.
To install the Poodle Python SDK, you can use pip. Run the following command in your terminal:
pip install poodle-python
You can also download the latest release from our Releases section and execute the package manually.
Using the Poodle Python SDK is straightforward. Hereβs a quick example to get you started:
from poodle import Poodle
# Initialize the Poodle client
client = Poodle(api_key='YOUR_API_KEY')
# Send a transactional email
response = client.send_transactional_email(
to='customer@example.com',
subject='Welcome to Poodle!',
body='Thank you for signing up!'
)
print(response)
The main class to interact with the Poodle SDK.
Initializes the Poodle client.
- Parameters:
api_key
: Your API key for authentication.
Sends a transactional email.
-
Parameters:
to
: Recipient's email address.subject
: Subject of the email.body
: Body of the email.
-
Returns: Response from the email service.
You can also manage email marketing campaigns. Hereβs a basic example:
# Create a marketing campaign
campaign_response = client.create_campaign(
name='Spring Sale',
subject='Donβt miss our Spring Sale!',
content='Check out our new products!'
)
print(campaign_response)
Here are a few examples to illustrate the capabilities of the Poodle Python SDK.
client.send_transactional_email(
to='user@example.com',
subject='Your Order Confirmation',
body='Thank you for your order!'
)
client.create_campaign(
name='Holiday Specials',
subject='Special Discounts for the Holidays!',
content='Shop now and save big!'
)
We welcome contributions! If you would like to contribute to the Poodle Python SDK, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch to your fork.
- Create a pull request.
Please ensure your code follows our coding standards and includes tests where applicable.
This project is licensed under the MIT License. See the LICENSE file for details.
For any issues or questions, please check the Releases section for updates or reach out through our GitHub issues page.
Thank you for using the Poodle Python SDK! We hope it makes your email communications easier and more effective.