TeslaApiObjectiveCWrapper 1.1.0

TeslaApiObjectiveCWrapper 1.1.0

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

Maintained by Unclaimed.


Downloads

Total10
Week0
Month0

Installs

Apps4
powered by Segment

GitHub

Stars10
Watchers2
Forks0
Issues1
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 307


  • 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