Go to file
Frank Denis 390204f479 Nits 2016-11-12 23:44:47 +01:00
ci + Travis 2016-10-27 01:45:52 +02:00
src Nits 2016-11-12 23:44:47 +01: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 Add the ability to return a super basic HTML page 2016-11-12 21:10:36 +01:00
Cargo.toml Optimize release builds 2016-11-12 21:19:02 +01:00
LICENSE Initial commit 2016-10-26 13:09:33 +02:00
README.md Teaser 2016-10-27 17:39:46 +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-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"
}