Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shu223/crunchbase-api-client-for-ios
CrunchBase API Client for iOS.
https://github.com/shu223/crunchbase-api-client-for-ios
Last synced: about 2 months ago
JSON representation
CrunchBase API Client for iOS.
- Host: GitHub
- URL: https://github.com/shu223/crunchbase-api-client-for-ios
- Owner: shu223
- Created: 2013-09-08T02:15:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-08T09:52:29.000Z (over 11 years ago)
- Last Synced: 2024-05-01T20:40:23.694Z (8 months ago)
- Language: Objective-C
- Homepage: http://developer.crunchbase.com/
- Size: 344 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#CrunchBase API Client for iOS
In Progress.
##Usage
###1. Add CrunchBase Client to your project
Add followings to your project.
- CrunchBaseClient.h, CrunchBaseClient.m
- [AFNetworking](https://github.com/AFNetworking/AFNetworking)###2. Set API Key
You can create your API Key from [http://developer.crunchbase.com/](http://developer.crunchbase.com/).
````
#import "CrunchBaseClient.h"
````````
[CrunchBaseClient setAPIKey:@"YOUR API KEY"];
````##Examples
- Retrieve a specific **company**'s information
````
[CrunchBaseClient companyWithName:@"appsocially"
handler:
^(NSDictionary *result, NSError *error) {
// Do something.
}];
````- Search by **location** (CLLocation object)
````
[CrunchBaseClient searchByLocation:location
radiusInMiles:50.0
handler:
^(NSDictionary *result, NSError *error) {
// Do something.
}];
````- Search by **state**
````
[CrunchBaseClient searchByState:@"CA"
handler:
^(NSDictionary *result, NSError *error) {
// Do something.
}];
````##License
MIT License