Skip to content

Elwell/artifactory-spaceapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceAPI for Perth Artifactory

See http://hackerspaces.nl/spaceapi/ for background

default.json contains the templated items - live status will added before moving to the site by some other means (python script most likely)

For scratchpad purposes, a hacky combination of PHP and Javascript (combining the worst of both) lets you do

<div id="spaceapi"></div>
<script>
<?php # spaceapi stuff
$json = file_get_contents("spaceapi.json");
echo "var spaceapi = $json;\n";
?>
document.getElementById("spaceapi").innerHTML = spaceapi.state.message ;
</script>

About

SpaceAPI json and scripts for Perth Artifactory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages