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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e52ff5fecf94b328e1756282065d9dbe71f61e33981dc6cddc9a1e50fa2e6d |
|
MD5 | f468e83f3af6742935eed6736781437e |
|
BLAKE2b-256 | e0290c0b06b74a9cbb49aa8e0cc34e32afe92828754956e563db02855038caf2 |
Close
Hashes for ploomes_api_client-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b23b06812605a69ec91d98886286acf3b758055e58b29e62971f44c9eff76fe |
|
MD5 | 45271d904e522da00f548a4e67a58b0c |
|
BLAKE2b-256 | 26b130fc09154cc51ccb5a4b8c3363f314e997f91f92a646f457ce7370f08bd8 |