/curedao-sdk-python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

The CureDAO Python API Client

Authentication

To use the CureDAO API, you first need to get an access token as described below. Once you have the token, include it in any of the API requests documented here using the Authorization header in the format Bearer YOUR_TOKEN_HERE.

Option 1: Use Demo Data

If you don't have your own data yet, you can use the access token demo in the Authorization header in the format Bearer demo.

Option 2: Access Your Own Data

  • Go to the Settings
  • Click copy your Personal Access Token
  • Include it in your API requests using the Authorization header in the format Bearer YOUR_TOKEN_HERE

Option 3: Use it in Your Own App

  • Go to the App Builder
  • Click New App and fill out the form
  • Follow the OAuth integration instructions in the Integration Guide link

Common API Usage Examples

Instead of using this SDK, you can also use the requests in our interactive API documenation. Just click the dots to the right of the "LANGUAGE" section and select the language you want to use. Then you can just copy the request from the documenation for usage in your project.

Here are some common usages:

How to Get Variables

How to Get a Variable

Save a Measurement

Get Measurements