;await API;const vehicles = await API;const vehicleStatus = await vehicles0;
Initializes the API with your credentials. By default it also fetches your vehicles and saves them but you can disable this behaviour if you want. More info
Vehicle.getImage(width, height, view)
Fetches and caches your vehicle image from BMW API. Of course it's not the actual photo, it's just a car photo based on your car's model and color :). Several "views" are available. More info
This work was inspired by the following repos:
Thank you for your efforts and hard work.
This library is not affiliated nor endorsed by BMW Group / Bayerische Motoren Werke AG.