You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Frank Denis 5a6d3d0b02 Use clap app_from_crate 1 month ago
ci _ -> - 3 years ago
docker nits 2 years ago
src Use clap app_from_crate 1 month ago
.gitignore Update .gitignore 9 months ago
.travis.yml Add fakeroot to travis 1 year ago
Cargo.toml Use clap app_from_crate 1 month ago
LICENSE Use clap app_from_crate 1 month ago
README.md Update README.md 1 year ago

README.md

Build Status

iptoasn-webservice

Webservice to map IP addresses to AS information.

This is the source code of the public API from iptoasn.com.

Requires rust.

Usage:

$ curl -H'Accept: application/json' https://api.iptoasn.com/v1/as/ip/<ip address>
{
  "announced": true,
  "as_country_code": "US",
  "as_description": "LEVEL3 - Level 3 Communications, Inc.",
  "as_number": 3356,
  "first_ip": "4.0.0.0",
  "ip": "4.3.2.1",
  "last_ip": "4.23.87.255"
}