Skip to main content

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


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)

Uploaded Source

Built Distribution

pypolestar-1.3.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

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

Hashes for pypolestar-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b3407d4e08a05a69143aa096dfc7dde7117bb2cc5687ffc064c04eb430895b74
MD5 51a22c0d710aac45e33757a6b656e9c9
BLAKE2b-256 ceb413f2aedc90c7519c2d543931346960c4d1ae69f8b282494bc68acb1eae17

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypolestar-1.3.0.tar.gz:

Publisher: release.yml on pypolestar/pypolestar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pypolestar-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8947cac2594531f0a1eee111e72420f9245d3a941b107bfcb59f9d302f64923b
MD5 28fa1f43c7ca35d01e993094e21c4da1
BLAKE2b-256 5e7a4b9799ac142474ed49280df073d425d7b4fd4584b18f37d88783c7f1dd0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypolestar-1.3.0-py3-none-any.whl:

Publisher: release.yml on pypolestar/pypolestar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page