Skip to main content

Quick Installation

The Rebase Dashboard API provides a Python client library for easy integration into your projects.

Install the Client

pip install rebase-dashboard
📦 Package Details: View on PyPI

Basic Usage

from rebase_dashboard import RebaseDashboardClient

# Initialize the client
client = RebaseDashboardClient(
    api_key="YOUR_API_KEY"
)

# Create your first dashboard
dashboard = client.dashboards.create_dashboard(
    name="My Energy Dashboard"
)

print(f"Created dashboard: {dashboard.id}")

Authentication

Getting Your API Token

  1. Sign up at dash.rebase.energy
  2. Navigate to your account settings
  3. Copy your API token to use in your code

Using the Token

from rebase_dashboard import RebaseDashboardClient

client = RebaseDashboardClient(
    api_key="your_api_key_here"
)

Next Steps

Now that you have the client installed, explore these guides: