Update readme

* Add ip field in JSON output
* Add Travis CI shield
This commit is contained in:
Ilya Glotov 2017-09-27 00:25:40 +03:00
parent 5f8505d80d
commit 37966bd369
No known key found for this signature in database
GPG Key ID: AE18CC224730A36D
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/jedisct1/iptoasn-webservice.svg?branch=master)](https://travis-ci.org/jedisct1/iptoasn-webservice)
# iptoasn-webservice
Webservice to map IP addresses to AS information (and DNS history, soon).
@ -18,6 +20,7 @@ $ curl https://api.iptoasn.com/v1/as/ip/<ip address>
"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"
}
```