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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3608d556dca7e148fdc648b8e948779c5103f516fea8fa6a610a72827870bda2 |
|
MD5 | c3fbf5e3ef9edf913d381375f054dc14 |
|
BLAKE2b-256 | 18d8cac3883d4467e1e9743803cef688333c5ec4137ac159e715ff46048e16bd |
Close
Hashes for ploomes_api_client-0.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08171816535f7361573cdd92cf5ef75ce3f2e46e6b433b0e31f66e577fd54153 |
|
MD5 | 9ba5eb73f0bde598a0cb25ff45a4f481 |
|
BLAKE2b-256 | c08ea2f958e754cc430b3087178210f7a5a76a7fc119515f12f99cdf082226f5 |