Skip to main content

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

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

candor-1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

candor-1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for candor-1.0.tar.gz
Algorithm Hash digest
SHA256 d2fbf8063ce36e039bd4271f483cecfdbcf486fd5ffc11ba455aaf6fadb1133e
MD5 53ab4b077fdc968cfcf366fa1fbd5074
BLAKE2b-256 8c95212f9f80a5bb9aac814e3b9c5aceff48334dc971ee792e405b3ddda0f8b7

See more details on using hashes here.

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

Hashes for candor-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f11f8aa4713a95efb6f313c99cac2d5b07642a871469b02f7d3164a91dd722f6
MD5 a028e364f7509b1b09c53d478cd69ca3
BLAKE2b-256 540e6b52391256d9ffcab927e8b61661f8d7ef0644f5d6edba190b9a03e22ad7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page