Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lucidmotors-0.1.0.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

lucidmotors-0.1.0-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

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