Go to file
Frank Denis 5b6b468801 Bump version 2016-10-27 17:33:18 +02:00
ci + Travis 2016-10-27 01:45:52 +02:00
src Bump version 2016-10-27 17:33:18 +02:00
.gitignore Initial import 2016-10-26 13:11:19 +02:00
.travis.yml + Travis 2016-10-27 01:45:52 +02:00
Cargo.lock Background refresh 2016-10-27 17:24:34 +02:00
Cargo.toml Bump version 2016-10-27 17:33:18 +02:00
LICENSE Initial commit 2016-10-26 13:09:33 +02:00
README.md Update doc 2016-10-27 17:32:38 +02:00

README.md

iptoasn-webservice

Webservice to map IP addresses to AS information.

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

Requires rust-nightly.

Usage:

$ curl 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",
  "last_ip": "4.23.87.255"
}