3.0.0 • Published 5 years ago
@datafire/iptwist v3.0.0
@datafire/iptwist
Client library for ipTwist
Installation and Usage
npm install --save @datafire/iptwistlet iptwist = require('@datafire/iptwist').create({
ApiKeyAuth: ""
});
.then(data => {
console.log(data);
});Description
The reliable, secure, and simple IP geolocation API.
Actions
.post
Geolocate a given IP address
iptwist..post({
"body": {}
}, context)Input
- input
object- body required Request
Output
- output Response
Definitions
Request
- Request
object- ip
string
- ip
Response
- Response
object- city
string - country
string - country_code
string - ip
string - latitude
number - longitude
number - state
string - timezone
string - zip
string
- city
3.0.0
5 years ago