Library to control Polestar
Project description
Python for Polestar
This library is not affiliated with nor supported by Polestar.
Data Models
Data models for returned information are described in pypolestar/models.py
.
Example
from pypolestar import PolestarApi
api = PolestarApi(username=USERNAME, password=PASSWORD, vins=[VIN])
# initialize API
await api.async_init()
# fetch latest data (do not call to frequently)
await api.update_latest_data(vin=VIN)
# get specific data
car_information = api.get_car_information(vin=VIN)
car_battery = api.get_car_battery(vin=VIN)
car_odometer = api.get_car_odometer(vin=VIN)
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
pypolestar-1.3.0.tar.gz
(11.6 kB
view details)
Built Distribution
File details
Details for the file pypolestar-1.3.0.tar.gz
.
File metadata
- Download URL: pypolestar-1.3.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3407d4e08a05a69143aa096dfc7dde7117bb2cc5687ffc064c04eb430895b74 |
|
MD5 | 51a22c0d710aac45e33757a6b656e9c9 |
|
BLAKE2b-256 | ceb413f2aedc90c7519c2d543931346960c4d1ae69f8b282494bc68acb1eae17 |
Provenance
The following attestation bundles were made for pypolestar-1.3.0.tar.gz
:
Publisher:
release.yml
on pypolestar/pypolestar
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pypolestar-1.3.0.tar.gz
- Subject digest:
b3407d4e08a05a69143aa096dfc7dde7117bb2cc5687ffc064c04eb430895b74
- Sigstore transparency entry: 165533735
- Sigstore integration time:
- Permalink:
pypolestar/pypolestar@e54e8aa2b8d052c7ecb014272a7fa1877bdbb921
- Branch / Tag:
refs/tags/1.3.0
- Owner: https://github.com/pypolestar
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@e54e8aa2b8d052c7ecb014272a7fa1877bdbb921
- Trigger Event:
release
- Statement type:
File details
Details for the file pypolestar-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: pypolestar-1.3.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8947cac2594531f0a1eee111e72420f9245d3a941b107bfcb59f9d302f64923b |
|
MD5 | 28fa1f43c7ca35d01e993094e21c4da1 |
|
BLAKE2b-256 | 5e7a4b9799ac142474ed49280df073d425d7b4fd4584b18f37d88783c7f1dd0a |
Provenance
The following attestation bundles were made for pypolestar-1.3.0-py3-none-any.whl
:
Publisher:
release.yml
on pypolestar/pypolestar
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pypolestar-1.3.0-py3-none-any.whl
- Subject digest:
8947cac2594531f0a1eee111e72420f9245d3a941b107bfcb59f9d302f64923b
- Sigstore transparency entry: 165533736
- Sigstore integration time:
- Permalink:
pypolestar/pypolestar@e54e8aa2b8d052c7ecb014272a7fa1877bdbb921
- Branch / Tag:
refs/tags/1.3.0
- Owner: https://github.com/pypolestar
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@e54e8aa2b8d052c7ecb014272a7fa1877bdbb921
- Trigger Event:
release
- Statement type: