Home::1: Difference between revisions
Appearance
Content deleted Content added
m Processing JSON to grab just the quota_remaining_gb field |
|||
| Line 29: | Line 29: | ||
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 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 using the URL: https://quota.aa.net.uk |
The quota figure on the homepage can also be viewed as an svg image using the URL: https://quota.aa.net.uk you can request a json or plain text version too, eg: |
||
curl -L https://quota.aa.net.uk --header "Accept: application/json" |
curl -L https://quota.aa.net.uk --header "Accept: application/json" |
||
| ⚫ | |||
wget https://quota.aa.net.uk --header="Accept: application/json" -q -O - |
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: |
|||
| ⚫ | |||
==Usage Tracking== |
==Usage Tracking== |
||