Back to the lesson

How to show data from an external API on your website

Use your own practice account and test data. Record an observation for each completion claim. You can print this worksheet or keep your answers in your own notes; this page does not submit them.

1. Open the ready lookup

Which repository did you look up, and what result did the running page actually display?

Review your work

2. Check one successful response

Did the page result match the repository response you inspected?

Review your work

3. Try missing and unavailable states

What did the two failure cases show, and could the visitor recover?

Review your work

4. Add a useful result

Add the open issues and pull requests total. How did its displayed value compare with the response, and what happened in the missing/unavailable tests?

Review your work

What is still unresolved?