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 telematics (contains both battery and odometer) for VIN
await api.update_latest_data(vin=VIN, update_telematics=True)

# get specific data for VIN
car_information = api.get_car_information(vin=VIN)
car_telematics = api.get_car_telematics(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.9.0.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypolestar-1.9.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file pypolestar-1.9.0.tar.gz.

File metadata

  • Download URL: pypolestar-1.9.0.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypolestar-1.9.0.tar.gz
Algorithm Hash digest
SHA256 fc361d9b2d871687d41fd9c7b141f27b07ad207cb07d90a7d605ae1881567f40
MD5 c5df8f909f33ec10c815fe121ad807e9
BLAKE2b-256 c3d5f24cfc5a5c4a4dfb2c2e7c49898f7f9774d70a4e36864902dda45453917b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypolestar-1.9.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.9.0-py3-none-any.whl.

File metadata

  • Download URL: pypolestar-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypolestar-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e07654b35a8519478df6c153676c86f8ad6ea981c0a064fda4cf8aeecf13bb2
MD5 f8e7aed2829a06f4cf6736d513f1103e
BLAKE2b-256 acdb9f76b0410d8ef6583bd7b2760ea085e1b81b2f8f83a1ef5851c99ec53ebd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypolestar-1.9.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page