A Gfycat API Client written in Swift 3.0
- iOS 8.0+
- Xcode 8.0+
- Swift 3.0+
GfycatSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:
platform :ios, '8.0'
pod 'GfycatSwift'
github "geek1706/GfycatSwift"
// Get trending gifs
Gfycat.trending { results, error in
// Do something with gifs
}
// Get trending gifs with a tag name
Gfycat.trending("funny") { results, error in
// Do something with gifs
}
// Get trending tags
Gfycat.trendingTags { results, error in
// Do something with tags
}
// Get trending tags with pre-populated gifs
Gfycat.trendingTagsPopulated { results, error in
// Do something with gifs
}
// Search
Gfycat.search("funny") { results, error in
// Do something with gifs
}
Trung Nguyen, [email protected]
GfycatSwift is available under the MIT license. See the LICENSE file for more info.