Latest 0.1.1
Homepage https://github.com/samsymons/XirSys
License MIT
Platforms ios 7.0, osx 10.8, requires ARC
Authors

An Objective-C wrapper for the XirSys API, compatible with iOS and OS X.

Note: This project is not intended for production use. It is not feature complete or extensively tested.

Installation

XirSys is available through CocoaPods. Add the following line to your Podfile, then run pod install:

pod "XirSys"

Getting Started

XirSys is based around the XSClient class. XSClient takes authentication credentials and uses them to make API requests. You create an authenticated client like so:

XSClient *client = [[XSClient alloc] initWithUsername:@"samsymons" secretKey:@"secretkey"];

Usage

XSClient automatically authenticates requests based on its username and secretKey properties. Providing you have them set, the client will take care of the authentication process automatically.

Here’s how you would get a list of servers for a given domain:

XSClient *client = [[XSClient alloc] initWithUsername:@"samsymons" secretKey:@"secretkey"];
[client getIceServersForDomain:@"perch.co" application:@"default" room:@"default" secure:YES completion:^(NSArray *servers, NSError *error) {
    NSLog(@"Servers: %@", servers);
}];

License

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

Latest podspec

{
    "name": "XirSys",
    "version": "0.1.1",
    "summary": "An Objective-C client for the XirSys API.",
    "homepage": "https://github.com/samsymons/XirSys",
    "license": "MIT",
    "authors": {
        "Sam Symons": "[email protected]"
    },
    "source": {
        "git": "https://github.com/samsymons/XirSys.git",
        "tag": "0.1.1"
    },
    "social_media_url": "https://twitter.com/sam_symons",
    "platforms": {
        "ios": "7.0",
        "osx": "10.8"
    },
    "requires_arc": true,
    "source_files": [
        "Classes/*.{h,m}",
        "Classes/**/*.{h,m}"
    ],
    "header_mappings_dir": "Classes",
    "public_header_files": "Classes/**/*.h"
}

Pin It on Pinterest

Share This