Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Home::1: Difference between revisions

5 bytes removed ,  11 November 2019
m
m (Processing JSON to grab just the quota_remaining_gb field)
The figure on the homepage is a real time counter of the usage, this may differ slightly from the stats on the [https://control.aa.net.uk/ Control Pages] as the control pages uses data that is only updated hourly.
 
The quota figure on the homepage can also be viewed as an svg image using the URL: https://quota.aa.net.uk/info.cgi you can request a json or plain text version too, eg:
curl -L https://quota.aa.net.uk --header "Accept: application/json"
wgetcurl -L https://quota.aa.net.uk --header= "Accept: applicationtext/jsonplain" -q -O- | jq -r '.quota_remaining_gb'
wget https://quota.aa.net.uk --header="Accept: application/json" -q -O -
wget https://quota.aa.net.uk --header="Accept: application/plain" -q -O -
and you can grab just the ''quota_remaining_gb'' field with:
wget https://quota.aa.net.uk --header="Accept: application/json" -q -O- | jq -r '.quota_remaining_gb'
 
==Usage Tracking==
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,264

edits