No project description provided
Project description
python-lucidmotors
Unofficial Python bindings to the Lucid Motors API. No affiliation with Lucid Motors.
To install dependencies, assuming you have Python development tools already, run:
pip install -r requirements.txt
Try fiddling with examples/vehicle_info.py
. With no arguments it will prompt
for your Lucid username and password, then print out your user profile and
vehicle information.
It may fail due to validation errors the first few times, because the types in
lucidmotors/vehicle.py
and lucidmotors/user.py
need to be extended to understand
values from all different Lucid trims/styles in all kinds of different states, which
will take some time.
To generate an anonymized test case from your data, use
examples/anonymize_login_response.py
. This will log in, remove identifying
information from the API response, and write it to a file. Check the file to
ensure anonymization actually worked, then you can share it as a test case.
If you're feeling adventurous, try playing with examples/test_all_actions.py
which
will run through every action we have figured out out thus far. A "stress test" of
sorts.
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
Hashes for lucidmotors-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ce991f0c87f4fcdd57d61220ed1c6d57d3d66480ce1138b5adbe5ad4ac1d2b1 |
|
MD5 | b6f6aa261b4e6ac6bbbeb8928d306c15 |
|
BLAKE2b-256 | 770ed90a01f28f8478fff03597df56d9768d6762c294e35e5cb19ea510a73f25 |