giphy

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 4 Imported by: 0

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL