Python SDK & CLI

The windborne package provides both a Python library and a CLI for interacting with the Data and Forecast APIs.

Installation

Set Credentials

The SDK reads WB_CLIENT_ID and WB_API_KEY from environment variables.

macOS & Linux

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:

CLI Usage

After installation, the windborne command is available globally.

Python Library

Each API endpoint page includes SDK and CLI examples specific to that endpoint. See Basic Auth for direct HTTP authentication without the SDK.