Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tech Diversified - API 101 Starter Page
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>TechDiversified Worshop - The Power of APIs</title>
<h1>List of 911 Responses</h1>
<div id="myResults"></div>
<script src=""></script>
<script type="text/javascript">
//Use jQuery to call the API and get results
//This is the URL (address) to the API endpoint you're interested in
var URL = "";
$.getJSON(URL, function(result){
//After the API is successfully called, the flow comes here.
$.each(result, function(idx, item){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment