Functions and APIs — the building blocks of modern software

Write reusable code that can talk to real services on the internet.

Once your child can write a function and call an API, they can build almost anything. In API Adventures, Leah teaches both at once: functions as packaged behaviour, and APIs as the public-facing front door to other people's services.

Difficulty: Intermediate   Time: 15 min   Reward: 250 XP

What your child will learn

What parents should know

Parent FAQ

Is API a hard concept for an 11-year-old?
Not the way we teach it. We literally show two systems shaking hands across the internet, then write the code.
Why functions and APIs in the same mission?
Because in real code, you almost never call an API without wrapping it in a function. Teaching them together is more honest and more useful.
Will they learn JavaScript or Python here?
Examples are JavaScript-flavoured but the patterns transfer. Players who prefer Python can ask Leah to switch.
Is this required for the final mission?
It's strongly recommended. The Gemini Awakening capstone uses functions extensively.

Start API Adventures →

See all 12 missions