Using giphy-python-client with giphy.com

Python integration

✓ Official SDK
Install
pip install giphy-python-client
Quick start
import giphy-python-client

# Set your API key
client = giphy_python_client.Client(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-python-client
Python
API
giphy.com
giphy.com
At a glance
Language Python
Endpoints10
Base URLhttps://api.giphy.com/v1
✓ Official