Python API Client for FCA/Stellantis cars
Project description
Python client for accessing FCA/Stellantis cars cloud API
Installation
pip3 install py-uconnect
Usage
from py_uconnect import brands, Client
# Create client
client = Client('foo@bar.com', 'very_secret', pin='1234', brand=brands.FIAT_EU)
# Fetch the vehicle data into cache
client.refresh()
# List vehicles
vehicles = client.get_vehicles()
for vehicle in vehicles.values():
print(vehicle.to_json(indent=2))
This would emit something similar to:
{
"vin": "XXXXXXXXXXXXXXXXXXXX",
"nickname": "500e",
"make": "FIAT",
"model": "Neuer 500",
"year": 2023,
"region": "EMEA",
"ignition_on": false,
"trunk_locked": true,
"odometer": 1841,
"odometer_unit": "km",
"days_to_service": 325,
"distance_to_service": 13159.0,
"distance_to_service_unit": "km",
"distance_to_empty": 134,
"distance_to_empty_unit": "km",
"battery_voltage": 14.875,
"oil_level": null,
"fuel_low": false,
"fuel_amount": null,
"plugged_in": false,
"ev_running": false,
"charging": false,
"charging_level": 0,
"charging_level_preference": 5,
"state_of_charge": 63,
"time_to_fully_charge_l3": 41,
"time_to_fully_charge_l2": 96,
"wheel_front_left_pressure": null,
"wheel_front_left_pressure_unit": "kPa",
"wheel_front_left_pressure_warning": false,
"wheel_front_right_pressure": null,
"wheel_front_right_pressure_unit": "kPa",
"wheel_front_right_pressure_warning": false,
"wheel_rear_left_pressure": null,
"wheel_rear_left_pressure_unit": "kPa",
"wheel_rear_left_pressure_warning": false,
"wheel_rear_right_pressure": null,
"wheel_rear_right_pressure_unit": "kPa",
"wheel_rear_right_pressure_warning": false,
"door_driver_locked": true,
"door_passenger_locked": true,
"door_rear_left_locked": true,
"door_rear_right_locked": true,
"window_driver_closed": true,
"window_passenger_closed": true,
"location": {
"longitude": 1.580266952514648,
"latitude": 1.36115264892578,
"altitude": 0,
"bearing": 0,
"is_approximate": false,
"updated": 1738660203.634
},
"supported_commands": [
"RDL",
"RDU",
"VF",
"ROLIGHTS",
"CNOW",
"DEEPREFRESH",
"ROPRECOND",
"ROTRUNKUNLOCK",
"ROPRECOND_OFF"
]
}
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 py_uconnect-0.3.11.tar.gz.
File metadata
- Download URL: py_uconnect-0.3.11.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29b484db12e030ee0ccff2adc09cb952511b1bb1140cd3305f94ddd5941349ab
|
|
| MD5 |
a4f4a89cc1b96fd441adf6b3d0d7f4a9
|
|
| BLAKE2b-256 |
d584f8b883be635d4b585d2226ec04dbf9f32bfe0154115f0ee5a84369472640
|
Provenance
The following attestation bundles were made for py_uconnect-0.3.11.tar.gz:
Publisher:
pypi.yml on hass-uconnect/py-uconnect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_uconnect-0.3.11.tar.gz -
Subject digest:
29b484db12e030ee0ccff2adc09cb952511b1bb1140cd3305f94ddd5941349ab - Sigstore transparency entry: 833782846
- Sigstore integration time:
-
Permalink:
hass-uconnect/py-uconnect@9f9662534ba5b88ae11ce574d2035f7ce5730785 -
Branch / Tag:
refs/tags/v0.3.11 - Owner: https://github.com/hass-uconnect
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f9662534ba5b88ae11ce574d2035f7ce5730785 -
Trigger Event:
push
-
Statement type:
File details
Details for the file py_uconnect-0.3.11-py2.py3-none-any.whl.
File metadata
- Download URL: py_uconnect-0.3.11-py2.py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
426ff151003e947a2633a5237ffa1710b0820132f0cd7be51ed6a6ee9bb47b7c
|
|
| MD5 |
5ca7eac8395ec5e693fd35ad08d04df0
|
|
| BLAKE2b-256 |
b6ac81c7f93ad93c1a750e5388678990d414761a7b94e85561daf1454045f17a
|
Provenance
The following attestation bundles were made for py_uconnect-0.3.11-py2.py3-none-any.whl:
Publisher:
pypi.yml on hass-uconnect/py-uconnect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_uconnect-0.3.11-py2.py3-none-any.whl -
Subject digest:
426ff151003e947a2633a5237ffa1710b0820132f0cd7be51ed6a6ee9bb47b7c - Sigstore transparency entry: 833782848
- Sigstore integration time:
-
Permalink:
hass-uconnect/py-uconnect@9f9662534ba5b88ae11ce574d2035f7ce5730785 -
Branch / Tag:
refs/tags/v0.3.11 - Owner: https://github.com/hass-uconnect
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f9662534ba5b88ae11ce574d2035f7ce5730785 -
Trigger Event:
push
-
Statement type: