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**
<aside> ➡️
You need an API Key to automatically retrieve data from the PVRADAR.
</aside>
**python -m pvradar.sdk api_key**
You’ll be asked to paste the API key.
<aside> ❗
As you paste it, it won’t be shown for security reasons. Press Enter to continue.
</aside>
venv
.pip install pvradar-sdk