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

Content deleted Content added
AA-Andrew (talk | contribs)
mNo edit summary
Adsb (talk | contribs)
m Processing JSON to grab just the quota_remaining_gb field
Line 32: Line 32:
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 -
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==
==Usage Tracking==