Python Library for Candor Services' Project Mercury API.
Project description
candor-py
Python Library for Candor Services' Project Mercury API.
Documentation
candor.py requires Python 3.8 or higher.
You can add the library to your project with:
pip install candor
Your public API key can be found at https://dashboard.candorservices.net/api-dashboard.
Verifying a license
You can verify if a license is valid using this function:
valid = verifyLicense(PUB_API_KEY, LICENSE_KEY, PRODUCT_ID);
You'll want to grab your product ID from https://dashboard.candorservices.net/license-manager by creating a new product and then adding a license. The license key should be added by the client, using some sort of config (we recommend remote configs, see below!). Assign your license to your client using the tools in the dashboard.
Retrieving a remote config
Remote configs allow clients to easily configure parts of their apps without having to mess with complicated or messy configuration files. You can use this function:
obj = candor.getConfig(PUB_API_KEY, CONFIG_ID);
to retrieve the remote config as an object. You can create a remote config at https://dashboard.candorservices.net/config-manager.
Need support?
If you need help with anything to do with this project, then please see the project-mercury-support channel in Discord under the FREELANCERS category.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file candor-1.0.tar.gz.
File metadata
- Download URL: candor-1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2fbf8063ce36e039bd4271f483cecfdbcf486fd5ffc11ba455aaf6fadb1133e
|
|
| MD5 |
53ab4b077fdc968cfcf366fa1fbd5074
|
|
| BLAKE2b-256 |
8c95212f9f80a5bb9aac814e3b9c5aceff48334dc971ee792e405b3ddda0f8b7
|
File details
Details for the file candor-1.0-py3-none-any.whl.
File metadata
- Download URL: candor-1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f11f8aa4713a95efb6f313c99cac2d5b07642a871469b02f7d3164a91dd722f6
|
|
| MD5 |
a028e364f7509b1b09c53d478cd69ca3
|
|
| BLAKE2b-256 |
540e6b52391256d9ffcab927e8b61661f8d7ef0644f5d6edba190b9a03e22ad7
|