fordpass-python icon indicating copy to clipboard operation
fordpass-python copied to clipboard

Updated Python library to latest API version

Open itchannel opened this issue 3 years ago • 0 comments

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)

itchannel avatar Nov 03 '20 03:11 itchannel