CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.
| TestsTested | ✓ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Oct 2017 |
| SwiftSwift Version | 4.0 |
| SPMSupports SPM | ✓ |
Maintained by Igor Palaguta.
| Depends on: | |
| ReactiveSwift | ~> 2.0 |
| SwiftyJSON | ~> 3.1.4 |
Library with ReactiveCocoa api for Youtube. Allows easy access required parts of videos and channels in one call.
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"))")
}
Supports swift2, swift3 and swift4. Use 'swift-2.3' branch for swift2
Cocoapods
pod "YoutubeEngine"Igor Palaguta, [email protected]
YoutubeEngine is available under the MIT license. See the LICENSE file for more info.