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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c3fa1d1c1fd7a9c4e0bc14bd356e2dc53ae0754f17289846798400111fb269 |
|
MD5 | 2338bad84822fb25962e91bda21a0282 |
|
BLAKE2b-256 | b2014a660980dd8e7b53062f29a585e7b8958179dc177d2fcc6d7f5c39697d9b |
Close
Hashes for ploomes_api_client-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea24ca23a5938a6101d6da27272b2665410da46a14e3769f15561de89dae848f |
|
MD5 | fd477d503095294d89dc733283f4f8d0 |
|
BLAKE2b-256 | cc760716feaec3d44cdf511f2ac9e5b272ec957a0509b2cb5fb8d8cb62be1571 |