HotellookSDK 1.0.8

HotellookSDK 1.0.8

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2018

Maintained by Seva Billevich, Oleg Montak, Dmitriy Baklanov.



 
Depends on:
Alamofire~> 4.7
SwiftProtobuf~> 1.0.3
KeychainSwift~> 8.0
 

  • By
  • Hotellook iOS Team

HotellookSDK

Platform: iOS 9+ Carthage compatible Cocoapods compatible

Hotellook iOS SDK is a framework integrating a hotels search engine into your app. When your user books a hotel, you get paid. Hotellook official app is based on this framework.

Installation

Cocoapods:

use_frameworks!
pod 'HotellookSDK', :git => 'https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core.git'
pod 'SwiftProtobuf', :git => 'https://github.com/apple/swift-protobuf.git', :tag => '1.0.1'

Carthage:

github "KosyanMedia/Hotellook-iOS-SDK-Core"

Code example

import HotellookSDK

let config = HDKConfig(appHostName: "iphone.hotellook.sdk", lang: "en")
let sdk = HDKFacade(config: config)

sdk.loadAutocomplete(text: "Paris", limit: 10) { resp, err in
  // do something with resp or err
}

More

See our open source template project: https://github.com/KosyanMedia/Aviasales-iOS-SDK