You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made this APRS API demo awhile back. Could be used for fun and or profit
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script>
// call the api and update
for(var i=0; i<5; i++) {
setTimeout(function() {
// aprs.fi doesn't appear to support CORS so use jsonp proxy
var myquery = encodeURIComponent('select * from json where url="http://api.aprs.fi/api/get?name=KE0BVB-11&what=loc&apikey=76956.nqwpsBsmbGoBC&format=json"');
$.ajax({
method: 'GET',
url: 'http://query.yahooapis.com/v1/public/yql?q='+ myquery +'&format=json&callback=?',
dataType: 'jsonp',
success: function(data) {
var entry = data.query.results.json.entries;
$('p').append(entry.altitude+"<br/>");
//ideas:
//put little balloon on screen,y-coordinate is proportional to altitude
}
});
}, i*5000);
}
</script>
<title>Balloons!</title>
</head>
<body>
<h3>Altitudes from aprs.fi</h3>
<p></p>
</body>
</html>
The text was updated successfully, but these errors were encountered:
I made this APRS API demo awhile back. Could be used for fun and or profit
The text was updated successfully, but these errors were encountered: