Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Shows total of funds raised, on and offline including gift aid (UK Tax refund) from on Panic Status Board:
1. Register for an API key and access at:
2. Replace: with the appropriate api-key and your-page-name
3. Place the page on an accessible web server
4. Install into Status Board using the DIY option
<title> Totaliser</title>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<script src=""></script>
function update()
$.getJSON("", {}, function (data) {
var total = Number(data.totalRaisedOnline) + Number(data.totalRaisedOffline) + Number(data.totalEstimatedGiftAid) ;
<table style='border-spacing:0; border-collapse:collapse; width:100%; height:100%;'>
<td style='padding-left:10px; font-size:36px; '> FUNDRAISING:</td>
<td style='font-size:36px; text-align:right;'> &pound <span id='raised'></span></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment