Latest 0.3.1
Homepage https://github.com/Igor-Palaguta/YoutubeEngine
License MIT
Platforms ios 8.0
Dependencies ReactiveSwift, SwiftyJSON
Authors

Library with ReactiveCocoa api for Youtube. Allows easy access required parts of videos and channels in one call.

Screenshots

YoutubeEngine

Example

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

let engine = Engine(.key(YOUR_API_KEY))
let request = Search(.term("VEVO", [.video: [.statistics, .contentDetails], .channel: [.statistics]]))
engine.search(request)
   .startWithResult {
      result in
      guard case .success(let page) = result else {
         return
      }
      let formattedItems = page.items.enumerated().map { "[($0)] = ($1)" }
      print("VEVO:n(formattedItems.joined(separator: "n"))")
}

Requirements

Supports swift2, swift3 and swift4. Use ‘swift-2.3’ branch for swift2

Installation

Cocoapods

pod "YoutubeEngine"

Carthage

github "Igor-Palaguta/YoutubeEngine"

Author

Igor Palaguta, [email protected]

License

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

Latest podspec

{
    "name": "YoutubeEngine",
    "version": "0.3.1",
    "summary": "Swift ReactiveCocoa lib for Youtube api.",
    "description": "Swift library for searching Youtube channels and videos",
    "homepage": "https://github.com/Igor-Palaguta/YoutubeEngine",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Igor Palaguta": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Igor-Palaguta/YoutubeEngine.git",
        "tag": "0.3.1"
    },
    "social_media_url": "https://twitter.com/igor_palaguta",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Source/YoutubeEngine/**/*",
    "dependencies": {
        "ReactiveSwift": [
            "~> 2.0"
        ],
        "SwiftyJSON": [
            "~> 3.1.4"
        ]
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This