Making a Bubble app that uses the Dad Jokes API
Here's how to integrate Bubble.io with a simple API and get a laugh for free
API’s are the front door of web services and they allow computers to talk to other computers to send and receive information. If you are building Bubble apps then sooner or later you’ll want to incorporate information from other sites automagically, and APIs are the way to do it. In this article I’ll explain how we can integrate Bubble with the Dad Jokes API, because Dad Jokes are the best jokes.
This particular API doesn’t have security requirements so it’s a good starting point for learning about API’s.
We’ll be building an app like this:
https://api-samples.bubbleapps.io/version-test/dad-joke
The API
The API we’ll be working with is at https://icanhazdadjoke.com and its docs are here https://icanhazdadjoke.com/api. Let’s have a walk through the relevant sections of their docs.
Authentication
The authentication section of their docs says no authentication is required, which makes it simple to work with. Often with API’s there is a requirement to sign up, generate keys, be subject to rat…