Skip to content

Instantly share code, notes, and snippets.

@FinlayDaG33k
Last active April 17, 2016 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FinlayDaG33k/d5d69f9d58e07d5382c93e0b70e9b581 to your computer and use it in GitHub Desktop.
Save FinlayDaG33k/d5d69f9d58e07d5382c93e0b70e9b581 to your computer and use it in GitHub Desktop.
function offlinenotification() {
var url = "https://hubble.finlaydag33k.nl/api/?authkey=<?php echo $user_authkey;?>";
$.getJSON( url, {
format: "json"
})
.done(function( data ) {
console.log(data);
$.each( data.servers.servers, function( i, item ) {
console.log(i);
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment