Go to file
Frank Denis 976d4f84ff nits 2018-07-18 19:14:05 +02:00
ci _ -> - 2017-09-12 17:56:14 +02:00
docker nits 2018-07-18 19:14:05 +02:00
src Update deps and make clippy happy 2018-02-18 21:44:19 +01: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 Update deps and make clippy happy 2018-02-18 21:44:19 +01: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 Update readme 2017-09-27 00:25:40 +03:00

README.md

Build Status

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",
  "ip": "4.3.2.1",
  "last_ip": "4.23.87.255"
}