import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
humor_api: {
type: "app",
app: "humor_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.humorapi.com/memes/search`,
headers: {
"Content-Type": `application/json`,
},
params: {
keywords: `{your_keywords}`,
"api-key": `${this.humor_api.$auth.api_key}`,
},
})
},
})
Rate a joke or a meme with your upvote or downvote. See the docs here.
Searches for jokes based on user-defined criteria. See the docs here.
Searches for memes based on user-defined criteria. See the docs here.
Humor API uses API keys for authentication. When you connect your Humor API account, Pipedream securely stores the keys so you can easily authenticate to Humor API APIs in both code and no-code steps.
To retrieve your API Key,