Latest 1.0.8
Homepage https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core
License MIT
Platforms ios 9.0
Dependencies Alamofire, SwiftProtobuf, KeychainSwift
Authors

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

Latest podspec

{
    "name": "HotellookSDK",
    "version": "1.0.8",
    "license": {
        "type": "MIT"
    },
    "homepage": "https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core",
    "authors": {
        "Hotellook iOS Team": "[email protected]"
    },
    "summary": "Integrate hotels search framework in your apps.",
    "source": {
        "git": "https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core.git",
        "tag": "v1.0.8"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": [
        "Sources/**/*.{swift,h,m}",
        "SupportFiles/HotellookSDK.h"
    ],
    "module_map": "SupportFiles/HotellookSDK.modulemap",
    "swift_version": "4.2",
    "dependencies": {
        "Alamofire": [
            "~> 4.7"
        ],
        "SwiftProtobuf": [
            "~> 1.0.3"
        ],
        "KeychainSwift": [
            "~> 8.0"
        ]
    }
}

Pin It on Pinterest

Share This