Documentation ¶
Overview ¶
A command line client for the Giphy API
Installation ¶
Just go get the command:
go get -u github.com/peterhellberg/giphy/cmd/giphy
Configuration ¶
The command line client can be used straight out of the box, but there are also a few environment variables that you can use in order to override the default configuration.
Environment variable | Default value ----------------------|-------------- GIPHY_API_KEY | GIPHY_RATING | g GIPHY_LIMIT | 10 GIPHY_BASE_URL_SCHEME | http GIPHY_BASE_URL_HOST | api.giphy.com GIPHY_BASE_PATH | /v1 GIPHY_USER_AGENT | giphy.go
Usage ¶
The command line client consists of a few sub commands.
Commands: search, s [args] gif, id [args] random, rand, r [args] translate, trans, t [args] trending, trend, tr [args]
Click to show internal directories.
Click to hide internal directories.