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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a3d2766b5f0177a1da8dc34c9341c162316e8b5ee280734913dfa8f9cc97ace |
|
MD5 | 636b40eaed50faeef210dc21b01545a6 |
|
BLAKE2b-256 | 8e16f65e62647a2fa007df9b1730db36481492bb05fc4f2efbe37e98af3c93b8 |
Close
Hashes for ploomes_api_client-0.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2212b413948d7b4905fc16cd988e75fb65059de4da34a70f8a5f633628849e7d |
|
MD5 | 6400545c5bcbd016ad437cda73ec0213 |
|
BLAKE2b-256 | 2c31d049151714bb36facf66a577d5035838b5b1de1209b40a66015272d0d9c3 |