Skip to content

jpinz/teslascope-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teslascope.com Dart API Implementation

Usage

A simple usage example:

import 'package:http/http.dart' as http;

import 'package:teslascopeapi/teslascopeapi.dart';

Future<void> main() async {
  var client = http.Client();
  var vehicle = VehicleAPI(httpClient: client);
  var software = SoftwareAPI(httpClient: client);
  print(await vehicle.fetchVehicle('corsair').then((value) => value.name));
  print(await software
      .fetchSoftware('2020.44.10.1')
      .then((value) => value.version));
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

A dart implementation of the teslascope.com API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages