I found some framework which namely Giphy Client, to use the Giphy's gifs easily. But there is no tutorial on how to use it. Sorry for this rookie question. Can someone explain me to how can I search the gifs and get them with using this client?
Here is the gif search function :
func test(){
let gif1 = Giphy(apiKey: "dc6zaTOxFJmzC")
gif1.search("lol", limit: nil, offset: nil, rating: nil) { (gifs, pagination, err) in
}
}
I really don't know what's in the gifs
value and I'm struggling because of that. There is a lot of subclass like url, id or rankings, but I can't figured it out.