Description Usage Arguments Details Author(s) Examples
The translate API draws on search, but uses the Giphy "special sauce" to handle translating from one vocabulary to another. In this case, words and phrases to GIFs. Example implementations of translate can be found in the Giphy Slack, Hipchat, Wire, or Dasher integrations. Use a plus or url encode for phrases.
1 2 |
s |
- A term or phrase to translate into a GIF |
rating |
- A rating for age appropriate gifs. Options include |
lang |
- Regional content; see the allowed 2-letter ISO 639-1 country codes listed in the Details. |
sticker |
Should a GIF be returned or an animated sticker (with transparent background)? Default to |
api_key |
- Giphy provides a default |
Tanslates a word or phrase to a GIF using the giphy
API.
Be aware that failure to use the rating
tag may result in gifs that are not safe for work use.
The default API key used here is for testing purposes only. More information on the use of the giphy API is available at https://github.com/Giphy/GiphyAPI
Language support is documented in the giphy API documentation for Language Support: https://github.com/Giphy/GiphyAPI#language-support.
Simon J. Goring simon.j.goring@gmail.com
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.