API Data
Create a webpage that utilizes data from an API.
Using APIs
-
Pick an API source. Make sure that it contains good documentation.
You might start here:
Fun API List
Open Weather Map
Data.gov -
Setup placeholders and containers in your
html
page, where you’d like to place your data. -
Using the APIs Demo
interaction-sp23demos/activities /apis/
we reviewed as a starting point, use the API to display the data. Pay close attention to the documentation and format of the resulting data. Make sure toconsole.log
your output to review your script as you go. -
Style the webpage appropriately, according to the data content.