OwlorbitSDK
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
License
OwlorbitSDK is available under the MIT license. See the LICENSE file for more info.