fordpass-python
fordpass-python copied to clipboard
Updated Python library to latest API version
Hi,
Up to you what parts you want to use but I've rewrote this library to work better with my Home Assistant integration so may be of use to you. Main points are as follows:
- Uses new V4 fordpass API
- Added missing token calls (Meant your previous API timed out after 2 hours and wouldn't reload without loading the actual fordpass application
- Ability to save the generated token to be reused later (Saves multiple calls to the API and properly refreshes when the token expires)
- Added function to request an update from the cars computer (Only use so often as will use up the car battery constantly polling for updates)