Skip to content
AFHTTPClient subclass for the FCC API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AFFCCAPIClient
Example
.gitignore
AFFCCAPIClient.podspec
LICENSE
README.md

README.md

AFFCCAPIClient

An AFHTTPClient subclass for the FCC API.

Primary purpose right now is using the census block conversions API for an easy way to get FIPS numbers from GPS coordinates.

Instructions

Install

Available on CocoaPods, simply add to your Podfile:

pod 'AFFCCAPIClient'

then do a 'pod install'

Code

[[AFFCCAPIClient sharedClient] getFIPSWithLat:@"42.343653" withLng:@"-71.097701" success:^(AFHTTPRequestOperation *operation, id responseObject) {

    NSLog(@"FIPS Dictionary: %@", responseObject);
    
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
    
}];

Contact

PJ Gray

License

AFFCCAPIClient is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.