GET, status, JSON — the call AI makes 100 times a day — step 8 of 9
We've stubbed an API response below. Write a function called
get_user_name that takes the response dict, returns the value at
response["data"]["user"]["name"], and then call it once on the
provided mock and print the result.
Expected output:
maya
⌘↵ runs the editor.read, then continue.
We've stubbed an API response below. Write a function called
get_user_name that takes the response dict, returns the value at
response["data"]["user"]["name"], and then call it once on the
provided mock and print the result.
Expected output:
maya
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.