Code Monkey home page Code Monkey logo

clubhouse-ios-api's Introduction

clubhouse-ios-api

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. To install it, simply add the following line to your Podfile:

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.

clubhouse-ios-api's People

Contributors

altyus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.