tedlee/Tangerine


Tangerine: an unofficial iOS library for the Lyft API

Language: Objective-C


Tangerine

An unofficial iOS library for the Lyft API.

To get started with Tangerine head over and sign up for the Lyft Developer Program. You will then be granted a Client Token and Client Secret. Tangerine uses the Mantle framework for JSON serialization in conjunction with AFNetworking.

Installation

Simply drag the Tangerine folder into your project

Usage

You can create your own instances of TANRequestManager and set the server token directly for each manager

TANRequestManager *manager = [[TANRequestManager alloc] initWithServerToken:@"YOUR_SERVER_TOKEN"];

CLLocationCoordinate2D location = CLLocationCoordinate2DMake(37.3924, -122.0798);
[manager getProductsForLocation:location success:^(NSArray *result) {
NSLog(@"%@", result);
} failure:^(NSError *error) {
NSLog(@"%@", error);
}];

Authors

Ted Lee, @tedlee

License

MIT

Project Statistics

Sourcerank 3
Repository Size 7.81 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

tedlee

Something wrong with this page? Make a suggestion

Last synced: 2017-03-18 02:36:44 UTC

Login to resync this repository