Go to file
Frank Denis 70bab797dc Version bump 2017-09-12 15:32:52 +02:00
ci Uninstalling Rust on Travis requires something different 2017-04-27 22:34:13 +02:00
docker Add entrypoint shell script 2017-07-31 20:44:50 +03:00
src Send a Vary: Accept, Accept-Encoding header 2017-09-12 15:32:12 +02:00
.gitignore Initial import 2016-10-26 13:11:19 +02:00
.travis.yml Uninstalling Rust on Travis requires something different 2017-04-27 22:34:13 +02:00
Cargo.lock Version bump 2017-09-12 15:32:52 +02:00
Cargo.toml Version bump 2017-09-12 15:32:52 +02:00
LICENSE Initial commit 2016-10-26 13:09:33 +02:00
README.md Big update of dependencies, and we don't need nightly any more 2017-04-27 22:27:21 +02:00

README.md

iptoasn-webservice

Webservice to map IP addresses to AS information (and DNS history, soon).

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

Requires rust >= 1.17.

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"
}