@ktmcp-cli/ip-geolocation-api
v1.0.0
Published
Abstract IP geolocation API allows developers to retrieve the region, country and city behind any IP worldwide. The API covers the geolocation of IPv4 and IPv6 addresses in 180+ countries worldwide. Extra information can be retrieved like the currency, fl
Downloads
15
Maintainers
Readme
IP geolocation API CLI
Production-ready command-line interface for the IP geolocation API API.
⚠️ Unofficial CLI - This tool is an independent project built on the public API.
Features
- Complete coverage of IP geolocation API API endpoints
- Simple, intuitive command structure
- JSON and pretty-print output formats
- Persistent configuration storage
- Progress indicators for async operations
Installation
npm install -g @ktmcp-cli/ip-geolocation-apiOr install locally:
cd ip-geolocation-api
npm install
npm linkConfiguration
Set API Key
ip-geolocation-api config set apiKey YOUR_KEY_HEREEnvironment Variables
export API_KEY=your_key_here
export API_BASE_URL=https://ipgeolocation.abstractapi.comView Configuration
ip-geolocation-api config list
ip-geolocation-api config get apiKeyUsage
v1
# List items
ip-geolocation-api v1 list
# Get item by ID
ip-geolocation-api v1 get <id>
# Output as JSON
ip-geolocation-api v1 list --jsonAvailable Resources
v1
JSON Output
All commands support --json flag for machine-readable output:
ip-geolocation-api v1 list --jsonLicense
MIT License - see LICENSE file for details.
