l3nticular / dartnissanconnectna

Mirror of GitLab repository

Home Page:https://gitlab.com/tobiaswkjeldsen/dartnissanconnectna

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dartnissanconnectna

A Dart client library for the North American NissanConnect API.

Through the NissanConnect API you can ask your vehicle for the latest data, see current battery and charging statuses, see the current climate control state, start or stop climate control remotely, remotely start charging, and retrieve the last known location of the vehicle.

Usage

A simple usage example:

import 'package:dartnissanconnectna/dartnissanconnectna.dart';

main() {
  NissanConnectSession session = new NissanConnectSession(debug: true);

  session.login(username: "username", password: "password").then((vehicle) {
    print(vehicle.vin);
    print(vehicle.modelYear);
    print(vehicle.nickname);
  });
}

About

Mirror of GitLab repository

https://gitlab.com/tobiaswkjeldsen/dartnissanconnectna

License:MIT License


Languages

Language:Dart 100.0%