Make an API-Based Generator [VIDEO]

In this walkthrough, we'll learn how to build a Random Person Spice Instant Answer. It uses the API provided by You can find the code on Github to follow along.

We've done it as a screencast for those who enjoy learning from video tutorials.

Set Up Your Development Environment

To follow along with this screencast, we'll first need to set up our development environment. There are three main steps:

  1. Fork the Spice repository on (How?)

  2. Set up the DuckDuckHack environment on (How?)

  3. Clone your Github fork onto the Codio environment. (How?)

If this is your first time developing an Instant Answer, check out our detailed, step-by-step guide to getting your development environment set up.

Create the Instant Answer Page

If you're just using this walkthrough to learn and practice for now, you can skip this step. This is important only if you plan to submit what you're working on.

Every Instant Answer on has its very own Instant Answer Page. These are the home base for planning, collaboration, and metadata. Instant Answer pages also show any Github issues and let you know what stage the Instant Answer is in.

When done coding, you'll use the URL of your Instant Answer page when submitting your contribution.

Now let's start coding!

Hit Play

Once this is done, you're ready to go! Make sure to click "full screen" and "HD".