8. Lab: Connect your own API
20m

Lab: Connect your own API ( 20 min)

Now it's time to put your Connector skills to the test! In this hands-on lab, use a REST API of your choice to extend your existing project or create a new one. This is your opportunity to work with real-world data and demonstrate your understanding of .

🎯 Lab Goals

By the end of this lab, you should have:

  1. Connected a REST API to your .
  2. Defined at least one new type with multiple from your API
  3. Successfully queried your data through

📋 Requirements

Choose one of the following approaches:

Option A: Extend your current project

Add a new Connector to your existing workshop project that integrates with a different REST API.

Option B: Create a new project

Start fresh with rover init and build a Connector from scratch.

🛠 Suggested APIs to use

If you don't have your own API in mind, here are some free, open APIs you can use:

  • REST Countries - Complex nested objects, multiple mappings. Try retrieving a list of countries including their capital and currency.
  • Pokemon API - Large objects, selective mapping. Try retrieving a list of Pokemon including their abilities and stats.
  • JSONPlaceholder - Simple data structures, relationships between types. Try retrieving a list of users including their albums and each album's photos.

You can also check out our Connectors Library for pre-built Connectors to integrate into your project. If you choose to use a pre-built Connector, you must use at least two.

💭 Resources

🔍 Check your work

A mentor will answer this multiple choice question for you.

What's next?

Thanks for trying out Connectors! What's next?

We'd love to hear your feedback about , so reach out to us in our community forums.

Previous