Latest 0.0.1
License MIT
JSON requests made easy within the Objective-C.

[![CI Status]( Samra/JSONRequester.svg?style=flat)]( Samra/JSONRequester)


Below is a simple console application demonstrating the usage. The code will NSLog the country for which your IP is located.

#import <Foundation/Foundation.h>
#import "JSONRequester.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        JSONRequester *req = [[JSONRequester alloc] init];
        JSONResponse *res = [req executeWithURL:@"" andRequestType:@"GET" andParameters:nil];

        if(res.status == 200){
            NSError *error;
            NSMutableDictionary *jsonData = [NSJSONSerialization options:kNilOptions error:&error];

            if(error == nil)
                NSLog(@"%@", [jsonData objectForKey:@"country"]);

    return 0;

JSONRequester is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "JSONRequester"


Jone Samra,


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

Latest podspec

    "name": "JSONRequester",
    "version": "0.0.1",
    "summary": "An easier way to do JSON-requests within Obj-C.",
    "description": "The packge contains to Objetive-C classes. One class (JSONRequester) will take care of doing the requests. The other one (JSONResponse) will hold the returned data and its status when doing the requests.n",
    "homepage": "",
    "license": "MIT",
    "authors": "Jone Samra",
    "social_media_url": "",
    "source": {
        "git": "",
        "tag": "0.0.1"
    "source_files": "Pod/Classes/**/*.{h,m}",
    "public_header_files": "Pod/Classes/**/*.h"

Pin It on Pinterest

Share This