Go to file
Frank Denis f9d7237671 Big update of dependencies, and we don't need nightly any more 2017-04-27 22:27:21 +02:00
ci Fix dash 2017-02-07 11:48:32 +01:00
src Big update of dependencies, and we don't need nightly any more 2017-04-27 22:27:21 +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 Big update of dependencies, and we don't need nightly any more 2017-04-27 22:27:21 +02:00
Cargo.toml Big update of dependencies, and we don't need nightly any more 2017-04-27 22:27:21 +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"
}