Open main menu

AAISP Support Site β

Changes

Home::1

5 bytes removed, 11:06, 11 November 2019
m
How to view remaining Quota
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==