OwlorbitSDK 1.0.3

OwlorbitSDK 1.0.3

Maintained by Tim Nguyen.



 
Depends on:
Alamofire~> 4.4
SwiftyJSON~> 3.1.4
ObjectMapper~> 2.0
AlamofireObjectMapper~> 4.0
 

OwlorbitSDK

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Documentation on API Routes

Here is the documentation of the api routes: https://github.com/owlorbit/api

Installation

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

pod 'OwlorbitSDK'

Implementation

Initialize Owlorbit SDK (To get your API tokens, please create a domain and navigate to https://app.owlorbit.com/account/api):

var owlorbit:OwlorbitSDK = OwlorbitSDK(publicKey:"YOUR_PUBLIC_KEY", encryptedSession:"YOUR_ENCRYPTED_SESSION", sessionHash:"YOUR_SESSION_HASH")

Then call the API:

owlorbit.owlorbitApi.getRoomsByEmail(email: "[email protected]",resultObj: {
    (ListAllRoomsModel) in
        ...
    }, error: {
    (err) in
        ...
    }
})

Author

[email protected]

License

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