Latest 0.1.0
Homepage https://github.com/altyus/clubhouse-ios-api
License MIT
Platforms ios 8.0, requires ARC
Dependencies Alamofire, SwiftyJSON
Authors

CI Status
Version
License
Platform

Features

  • Deserializes Clubhouse objects into distinct Swift Structs
  • Uses Swift Enums to safely handle and constrain optional params
  • Built on top of Alamofire and SwiftyJSON
  • Maps all documented Clubhouse.io API calls

Documentation

Clubhouse API Documentation

Getting Started

  1. Register for a Clubhouse API Token (Login to Clubhouse, Settings -> API Tokens)
  2. In your AppDelegate:
    
    import clubhouse_ios_api

func application(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool
{
ClubhouseAPI.configure("{ENTER-TOKEN-HERE}")
return true
}


## Installation

clubhouse-ios-api is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "clubhouse-ios-api"

Usage

ClubhouseAPI.sharedInstance.searchStories([StoryParam.EpicId(123)], success: { stories in
            self.stories = stories.sort { $0.name?.lowercaseString < $1.name?.lowercaseString }
            self.tableView.reloadData()
            }, failure: { error in
                print(error)
        })

License

clubhouse-ios-api is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "clubhouse-ios-api",
    "version": "0.1.0",
    "summary": "A native Swift API Wrapper for Clubhouse.io",
    "description": "Swift Library for Clubhouse.ionFeatures:n1. Wraps Clubhouse.io APIn2. Uses Swifty JSON to make parsing JSON fast and easyn3. Built on AlamoFiren4. Goal is to expose all Clubhouse endpoints and features",
    "homepage": "https://github.com/altyus/clubhouse-ios-api",
    "license": "MIT",
    "authors": {
        "altyus": "[email protected]"
    },
    "source": {
        "git": "https://github.com/altyus/clubhouse-ios-api.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "clubhouse-ios-api": [
            "Pod/Assets/*.png"
        ]
    },
    "dependencies": {
        "Alamofire": [
            "~> 3.4.0"
        ],
        "SwiftyJSON": [
            "~> 2.3.2"
        ]
    }
}

Pin It on Pinterest

Share This