A software development kit for the integration of the Beintelli API
Project description
Project Title
This Python SDK was created as part of a bachelor's thesis for the BeIntelli Platform, a project in the context of autonomous mobility, and serves as a client library for the Rest API with a few additional functions.
Authors
License
Usage
import asyncio
from asyncio import Future
from datetime import datetime
from src.beintelli_platform_python_sdk_eliasinguanta.measurement_list import MeasurementList
from src.beintelli_platform_python_sdk_eliasinguanta.user import User
from src.beintelli_platform_python_sdk_eliasinguanta.utils.types import WeatherData
async def print_weather():
"""show data api"""
user: User = User()
#log in
await user.login("my_username","my_password")
#params
start_date: datetime = datetime.fromisocalendar(2020, 1, 1)
end_date: datetime = datetime.fromisocalendar(2024, 1, 1)
#request weather data
future_weather: Future[MeasurementList[WeatherData]] = await user.data.get_weather_data(start_date, end_date)
weather: MeasurementList[WeatherData] = await future_weather
print(weather)
asyncio.run(print_weather())
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file beintelli-platform-python-sdk-0.1.4.tar.gz.
File metadata
- Download URL: beintelli-platform-python-sdk-0.1.4.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca361ec181f870bab4062c0673a4f6bda836448d12b81ff21d6faa8d5b9f370b
|
|
| MD5 |
6201298f20a4dcbf95be5383be70adfd
|
|
| BLAKE2b-256 |
27221fa0e0469b092e5273cabc43d50b7bf33a6821e68d537f44c492ad5b5d43
|
File details
Details for the file beintelli_platform_python_sdk-0.1.4-py3-none-any.whl.
File metadata
- Download URL: beintelli_platform_python_sdk-0.1.4-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e114ad0fd781690ff425c1eac142c239ae3ff6dc5a97bc0c4da5cfc8748882c1
|
|
| MD5 |
ee77ad9bb42c8236e07d57c6c792f040
|
|
| BLAKE2b-256 |
5fa35d0cb8505a4b94beae05560faeb800004e6a114753cb7e66a2dc07ca8276
|