GoGiphy is a golang implementation of the giphy api.
go get
will always pull the latest release.
go get github.com/icehtwoo/gogiphy
or
go get github.com/icehtwoo/[email protected]
Import the package into your project.
import "github.com/icehtwoo/gogiphy"
Create a giphy client to access the api. The key can be generated here:
giphy := gogiphy.NewClient(httpClient, "key", "en")
Examples can be found here.
- Trending
- Search
- Translate
- Random
- Action Register
- Random ID
- Get GIF by ID
- Get GIFs by ID
- Upload
- Categories
- Autocomplete
- Search suggestions
- Trending Search Terms
- Documentation
- Tests
- Examples