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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a211c4401284b50eacc35e1cc4dd624c86126314c32c556645e906d3bb65b5 |
|
MD5 | a9ab27d74b9d3936a4173bc61c0f462c |
|
BLAKE2b-256 | 8c9fe6be19c53b6c4cfdd53fb761fc7c99005cadbe51aaeb3f3e1742d2caed18 |
Close
Hashes for ploomes_api_client-0.1.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a791c38b315a7a662fa7affe8a78129f5bdd623fc3faf92c5017037d005983e |
|
MD5 | 75eaee0843f00f2e17ca12383f29365e |
|
BLAKE2b-256 | 3771581de9218c0e9d79c0dbcdcdc1db27a230f7bb857fd876d28941d30c240a |