Skip to content

pj4533/AFFCCAPIClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

AFHTTPClient subclass for the FCC API

Resources

License

Stars

Watchers

Forks

Packages

No packages published