GfycatSwift

A Gfycat API Client written in Swift 3.0

CI Status Version License Platform Carthage compatible

Requirements

Installation

Cocoapods

GfycatSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:

platform :ios, '8.0'
pod 'GfycatSwift'

Carthage

github "geek1706/GfycatSwift" 

Usage

// 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
}

Author

Trung Nguyen, trung1706@gmail.com

License

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