1. Install the PVRADAR Python Package

We recommend using a python virtual environment, instead of global package installation. Please create and activate the venv.

Install the package with a pip install. Run the following command in a terminal.

**pip install pvradar-sdk**

If you already have pvradar installed, you can update to the latest version with

**pip install pvradar-sdk --upgrade**

2. Get your API Key

<aside> ➡️

You need an API Key to automatically retrieve data from the PVRADAR.

</aside>

  1. First, sign-up **here.**
  2. You will then receive your personal key via E-Mail.
  3. Once you know your API key you can register it by running the following command in the terminal.
**python -m pvradar.sdk api_key**

You’ll be asked to paste the API key.

image.png

<aside> ❗

As you paste it, it won’t be shown for security reasons. Press Enter to continue.

</aside>

image.png

3. Confirm successful installation by running a simple Jupyter NB

  1. Create a folder for your local workspace
  2. We recommend using a python virtual environment, instead of global package installation. Please create and activate the venv.
  3. Make sure you install the SDK: pip install pvradar-sdk