Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m0zgen/ip-reflector
IP Reflection API Service
https://github.com/m0zgen/ip-reflector
Last synced: 12 days ago
JSON representation
IP Reflection API Service
- Host: GitHub
- URL: https://github.com/m0zgen/ip-reflector
- Owner: m0zgen
- License: other
- Created: 2022-06-21T12:57:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T07:31:32.000Z (over 2 years ago)
- Last Synced: 2025-01-06T00:13:54.934Z (19 days ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IP Reflector
Node.js microservice for reflect data from open IP API cervices.
## Usage
Clone proect and run:
```
npm instrall
```Run server:
```
node app.js
```Server will be available on:
```
http://127.0.0.1:8000
```## Requesting
Curl:
```
curl http://127.0.0.1:8000/reflect/?ip=1.1.1.1
```Example response:
```
{"status":"success","country":"Australia","countryCode":"AU","region":"QLD","regionName":"Queensland","city":"South Brisbane","zip":"4101","lat":-27.4766,"lon":153.0166,"timezone":"Australia/Brisbane","isp":"Cloudflare, Inc","org":"APNIC and Cloudflare DNS Resolver project","as":"AS13335 Cloudflare, Inc.","query":"1.1.1.1"}
```## Licence
* [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.txt)