Network Pipe Manufacturer

    @shuangbing/bmw-connected-drive
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.6 • Public • Published

    BMW Connected Drive

    This package can be used to access the BMW ConnectedDrive services.

    Installation

    npm i -S bmw-connected-drive

    Usage

    import { ConnectedDrive, Regions } from 'bmw-connected-drive';
    
    // Setup the API client
    const api = new ConnectedDrive(username, password, Regions.RestOfWorld);
    
    // Fetch a list of vehicles associated with the credentials
    const vehicles = await api.getVehicles();
    
    // Trigger the Remote Service for remotely heating/cooling the car.
    await api.startClimateControl(vehicleIdentificationNumber);
    
    // Trigger the stopping Remote Service for remotely heating/cooling the car.
    await api.stopClimateControl(vehicleIdentificationNumber);

    Disclaimer

    This library is not an official integration from BMW Connected Drive. This library is neither endorsed nor supported by BMW Connected Drive. This implementation is based on reverse engineering REST calls used by the BMW Connected Drive web app, and may thus intermittently stop working if the underlying API is updated.

    Any utilization, consumption and application of this library is done at the user's own discretion. This library, its maintainers and BMW Connected Drive cannot guarantee the integrity of this library or any applications of this library.

    Acknowledgements

    Inspired by https://github.com/bimmerconnected/bimmer_connected

    Install

    npm i @shuangbing/bmw-connected-drive

    DownloadsWeekly Downloads

    1

    Version

    1.0.6

    License

    Apache-2.0

    Unpacked Size

    86.6 kB

    Total Files

    68

    Last publish

    Collaborators

    • shuangbing