Get Started
Set up your credentials to get the API key for GIPHY.
We'll cover the following
To use the GIPHY API platform, we need to create an account on GIPHY.
Create an account
We can sign up for our GIPHY account on their official page. Please follow the steps below to sign up successfully:
- First, select the "Sign Up" tab, then enter a username, a password, and your email address. Once you’ve done that, click “Sign Up.”
- Before you can log in to your account, you’ll need to verify your email address. Go to your inbox and click the verification link in the verification email sent by GIPHY, or enter the provided activation code.
- Enter your email address and password to log in. A successful login will take you to the GIPHY homepage.
The slides below will help you visualize the process.
Get the API key
Once you’ve logged in to your account, follow the steps below to register for the GIPHY API key:
- Open the GIPHY Developers dashboard.
- Click the "Create an App" button.
- Select the "SDK" section and then click "Next Step" to proceed.
- Enter the name and description of the application you want to create. Check the agreement box and then click “Create App” to proceed. This will successfully generate the GIPHY API key!
The slides below will help us visualize the process.
Save the API key
Let’s check to see if our API key works. Click the “Edit” button below, and enter the GIPHY API key. Click “Save” to save it, so that we can use it throughout this course.
Press + to interact
const fetch = require('node-fetch');let url = new URL('https://api.giphy.com/v1/gifs/W5ZUxqXT1lmiysXsDE')url.search = new URLSearchParams({api_key: '{{API_KEY}}'})//Call the function that renders the GIFrender();
Yeah, you got this! We’ll explore this and all other GIPHY endpoints together throughout this course.