Versions in this module Expand all Collapse all v0 v0.2.0 Apr 12, 2021 Changes in this version + const MediaFilterAll + const MediaFilterBasic + const MediaFilterMinimal + var BaseEndpoint = "https://api.tenor.com" + var Endpoint = BaseEndpoint + Path + "/" + var Path = "/v" + Version + var Version = "1" + type Client struct + func NewClient(apiKey string) *Client + func (c *Client) GIFs(ids []string, filter MediaFilter, limit int) ([]GIF, error) + type Dimensions struct + Height int + Width int + func (d *Dimensions) UnmarshalJSON(data []byte) error + type GIF struct + Created float64 + HasAudio bool + HasCaption bool + ID string + ItemURL string + Media []map[GIFFormat]Media + Tags []string + Title string + URL string + type GIFFormat string + const FormatGIF + const FormatLoopedMP4 + const FormatMP4 + const FormatMediumGIF + const FormatNanoGIF + const FormatNanoMP4 + const FormatNanoWebM + const FormatTinyGIF + const FormatTinyMP4 + const FormatTinyWebM + const FormatWebM + type HTTPError struct + Body []byte + StatusCode int + func (err HTTPError) Error() string + type Media struct + Dimensions Dimensions + Preview string + Size int + URL string + type MediaFilter string