Local Autonomous Systems Method
This method lists Autonomous System Numbers registered to South African companies.
URL:
Formats: json, php
Method(s): GET
Parameters:
http://extension.locality.co.za/api/0.1/network/asn-list.[data_format]Formats: json, php
Method(s): GET
Parameters:
asn (integer)[optional] Filter ASNs by ASN.since (integer)[optional] Filter ASNs by registration date, in UNIX timestamp format.
asn (array)The container array for the domain list, each item key is the AS number.> name (string)The name of the AS.> owner (string)The name of the registered owner of the AS.> timestamp (interger)The UNIX timestamp of when the AS number was registered.
- Request:
http://extension.locality.co.za/api/0.1/network/asn-list.json?asn=36943 - Response:
{ error_msg: null, error_type: null, response: { asn: { 36943: { name: WEBAFRICA, owner: WebAfrica Networks, timestamp: 1176156000 } } }, timestamp: 1234567890 }
Fair Usage Guidelines
Please be considerate with your requests, in other words don't make more requests than necessary. Determine whether a single or bulk request is better suited for the data you require. An example would be to consider using timestamp filtering to retrieve only the data you require since your last request. Another consideration would be to locally cache content where possible.