import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
giphy: {
type: "app",
app: "giphy",
}
},
async run({steps, $}) {
return await axios($, {
url: `api.giphy.com/v1/gifs/random`,
params: {
api_key: `${this.giphy.$auth.api_key}`,
},
})
},
})
Giphy uses API keys for authentication. When you connect your Giphy account, Pipedream securely stores the keys so you can easily authenticate to Giphy APIs in both code and no-code steps.
Get an API Key via the developers dashboard.