The Humor API allows you to access over 50,000 jokes and over 100,000 memes.
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.
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}`,
},
})
},
})
With Schedule - A trigger provided by Pipedream - You can easily build
automated workflows that run on regular times or intervals. Some examples of
things that you can build using the Schedule API include: