Python client for the Ploomes API
Project description
Ploomes API Python Client
This package provides a simple Python client for the Ploomes API.
Installation
You can install the package from PyPI:
pip install ploomes-api-client
Usage
First, import the PloomesClient
class:
from ploomes_client import PloomesClient
Next, create an instance of the PloomesClient
class, passing your API key as a parameter:
ploomes = PloomesClient('your_api_key_here')
Now you can use the methods of the PloomesClient
class to interact with the API.
# Get user account
user_account = ploomes.get_user_account()
# Create a contact
response = ploomes.create_contact(
Name='John Doe',
Email='johndoe@example.com',
City='City',
State='State',
StreetAddress='Street Address',
Neighborhood='Neighborhood',
ZipCode='ZipCode',
Register='Register',
StreetAddressNumber='StreetAddressNumber',
Phones=[{'PhoneNumber': '1234567890'}],
OtherProperties={'Property': 'Value'}
)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
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
Close
Hashes for ploomes-api-client-0.1.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c16ee754982067265a69c69fffb8e415e00bde350da43ceb8196ead9545fe38d |
|
MD5 | f0b892e74e79c900c35829142fa85eed |
|
BLAKE2b-256 | dd76cdf6420e79ab14106463e9b292c6b6ffe4d04bca155aef577b9840b9a0c1 |
Close
Hashes for ploomes_api_client-0.1.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae1f0602f03d553aba0075383082d0eb74ac786e1f7bb594f23a00d08711029c |
|
MD5 | 08cd4d59b56ad7d18eb8d8ed8de5914b |
|
BLAKE2b-256 | 0927e9ad7909b48c5fd7f6e49bba21ec968e30072fc71ff9b40df482217665c8 |