A Python SDK for interacting with the Fortlev Solar API.
Project description
Fortlev Solar SDK Documentation
Welcome to documentation for the Fortlev Solar SDK. This SDK is designed to simplify the process of interacting with the Fortlev Solar API.
Getting Started
The Fortlev Solar SDK provides easy-to-use methods for:
- Register: Register a new partner in the Fortlev Solar
- Authentication: Authenticate users and generate access token.
- Surfaces: Retrieve available surfaces for photovoltaic installations.
- Components: Access data for various solar components.
- Cities: Get a list of cities with available data.
- Orders: Create orders based on specific power, voltage, and phase parameters.
Installation
You can install the SDK using pip:
pip install fortlev_solar_sdk
Quick Example
Here's a quick example of how to use the SDK to authenticate and fetch available surfaces:
from fortlev_solar_sdk import FortlevSolarClient
client = FortlevSolarClient()
client.authenticate(username="username", pwd="password")
orders = client.orders(power=5.0, voltage="220", phase=1, surface="surface_id", city="city_id")
for order in orders:
print(order)
API Reference
For a complete reference of available endpoints, visit the official API documentation:
Fortlev Solar API Documentation
Fortlev Solar Platform
To access the Fortlev Solar platform, where you can manage your orders and more, visit:
Contributing
We welcome contributions to the SDK! If you'd like to report an issue or contribute to the project, please visit our GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fortlev_solar_sdk-0.1.0.tar.gz
.
File metadata
- Download URL: fortlev_solar_sdk-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f9c97ea5fbff847b0bf175f14be8e61aa4b75741751d6103c3d7c4cca22605d |
|
MD5 | e6df65c3ca1d279117f8172cdda96151 |
|
BLAKE2b-256 | 4950d3a60ef025ce4caa254e5a023993adf120b67f2db5082e60b0e3ebb6d488 |
File details
Details for the file fortlev_solar_sdk-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: fortlev_solar_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0038dfb5e27ac8e06d102192ff432d469bbe952996293afe71be6a620507c1 |
|
MD5 | eaaa7c6ffdec2dd7c8dbe2e34fb9df9f |
|
BLAKE2b-256 | 0dcd4e65f62170b2746a2929f630538078296aee0d0c760ec1bac385cbffafb0 |