HTML Tables from API
Output Readme Download Replit Sel. & Copy Full


This repl generates HTML tables automatically from an API. Every twelve hours, an API call is made and the table is updated.

To view this on TripleLog, click here


Use the NASA API for near-earth asteroid information. Visit this web page for more information about NASA's APIs. You can certainly use different APIs to get whatever data you desire. Just figure out how to convert the output given to an object that can be inputted into the template.


Style the table as desired and add other elements around it.

NodeJS Server

By default, the table is regenerated each time the server is loaded and then every twelve hours. You can adjust the settings to the optimal frequency.

You can use a different server to serve the generated static file, but just make sure the updated HTML is used each time.