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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e35014843a1131c7fbc14ed5780c63ac6cd47975596afefcaa81cd757460ffb |
|
MD5 | f35447464ab80e86c5fe6ab8c322f693 |
|
BLAKE2b-256 | 111939fc356a183a931c55239b2ff2644664f6a612c658c921ec3112cc2ffae4 |
Close
Hashes for ploomes_api_client-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a570b59d445469521ecd8459eafe7cc19eee1050b88185c04fb4c087fee572 |
|
MD5 | e275654212631a725340874249103172 |
|
BLAKE2b-256 | cf1f792a363ff63e56549bcd67209f64f7288aa4dcb559428d23a51daae62cc9 |