Using giphy-js-sdk-core with giphy.com

JavaScript integration

✓ Official SDK
Install
npm install giphy-js-sdk-core
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-js-sdk-core
JavaScript
API
giphy.com
giphy.com
At a glance
Language JavaScript
Endpoints10
Base URLhttps://api.giphy.com/v1
✓ Official