Using giphy-ruby-client with giphy.com

Ruby integration

✓ Official SDK
Install
gem install giphy-ruby-client
Quick start
require 'giphy-ruby-client'

client = GiphyRubyClient::Client.new(api_key: "YOUR_API_KEY")
Get GIFs by ID
curl \
  # append ?api_key=$API_KEY to the URL \
  https://api.giphy.com/v1/gifs
Random GIF
curl \
  # append ?api_key=$API_KEY to the URL \
  https://api.giphy.com/v1/gifs/random
Search GIFs
curl \
  # append ?api_key=$API_KEY to the URL \
  https://api.giphy.com/v1/gifs/search
SDK on GitHub 📄 API Docs
SDK
giphy-ruby-client
Ruby
API
giphy.com
giphy.com
At a glance
Language Ruby
Endpoints10
Base URLhttps://api.giphy.com/v1
✓ Official