AI Mastery Academy

Master AI. Shape Your Future. Learn to leverage ChatGPT, Claude AI, and the world's most powerful AI platforms—from complete beginner to expert level.

Platform

  • Learning Paths
  • Platform Comparison
  • Free Resources
  • Pricing
  • Developer API
  • Alternatives
  • Best AI for…

Company

  • About Us
  • Contact
  • FAQ
  • What's New
  • Privacy Policy
  • Terms of Service

© 2026 AI Mastery Academy. All rights reserved.

API Response Parser

Write JavaScript code to parse and transform an API response.

beginner
25 points
coding

Instructions

Write a JavaScript function called `parseUsers` that takes an API response object with a `data` array of user objects (each with `id`, `first_name`, `last_name`, `email`, `status`) and returns an array of only active users, with `full_name` combining first and last name.

Starter Code

function parseUsers(apiResponse) {
  // Your code here
}

Hints

AI-Powered Hints

Smart

Get personalized hints based on your current progress. Start with gentle hints and progress to more detailed ones.

Tags

javascript
api
data-transformation

Access Level

FREE