TeslaApiObjectiveCWrapper 1.1.0

TeslaApiObjectiveCWrapper 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License BSD
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Tim Flack

tesla-api-objectivec

ObjectiveC Wrapper For Tesla APIs

In Your Project

import "TeslaApi.h"

in ViewDidLoad (or wherever you want to use it)

TeslaApi *tApi = [[TeslaApi alloc]initWithUserName:@"YOUREMAIL" andPassword:@"YOURPASSWORD"];

[tApi listVehiclesWithCompletionBlock:^(NSArray *vehicles) {
        NSLog(@"VEHICLE: %@",vehicles);
    } andErrorBlock:^(NSError *error) {
        NSLog(@"ERROR: %@",error);
    }];

Download the example project for exact usage