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)
.startWithNext {
page in
let formattedItems = page.items.enumerate().map { "[\($0)] = \($1)" }
print("VEVO:\n\(formattedItems.joinWithSeparator("\n"))")
}
Supports swift2.2, swift2.3 and swift3. Use 'swift-3' branch for swift3
Cocoapods
pod "YoutubeEngine"
Carthage
github "Igor-Palaguta/YoutubeEngine"
Igor Palaguta, [email protected]
YoutubeEngine is available under the MIT license. See the LICENSE file for more info.