Authentication

WindBorne uses API keys to authenticate API requests. If an API request is not properly authenticated, it will fail. To get a paid all access API key, email data@windbornesystems.com.

You should have an WB_API_KEY and a WB_CLIENT_ID . Conceptually, you can think of them as a username and password. You should make sure to keep your API key safe and secure.

To authenticate, pass HTTP basic auth headers in the GET request with username WB_CLIENT_ID and password WB_API_KEY . This follows RFC 7617; ie, as is standard, the credentials are colon-separated then base-64 encoded; many HTTP libraries will do this for you.

Basic Authentication

HTTP Basic Authentication Examples

Authentication Endpoint

To verify your credentials quickly, request /debug/v1/auth_status . On success it returns:

CLI and Installation

WindBorne releases a pip installable library built to interact with Data and Forecasts APIs that comes with a Command Line Interface (CLI) out of the box.

Install WindBorne

Set credentials on mac and linux

Setup Environment Variables

Set credentials on Windows

  1. Press Win + X and select "System"
  2. Click "Advanced system settings" on the right
  3. Click "Environment Variables" at the bottom
  4. Under "User variables", click "New" and add the following: