kuyuip
v0.0.5
Published
CLI for querying IP and domain location data through the kuyuip API.
Readme
kuyuip CLI
Command-line tool for querying IP and domain location data with kuyuip.
Use kuyuip in your terminal to check an IP address, a domain name, or your current public IP.
Install
npm install -g kuyuip@latestAfter installation, verify that the command is available:
kuyuip --versionGet Your Key
Go to kuyuip.com, then sign up or log in to your account.
- Open kuyuip.com.
- Open the key management page in your account.
- Create an API Key.
- Copy the key and save it into the CLI.
Once your key is saved, you can use the CLI without re-entering it every time.
Configure
kuyuip config set key YOUR_API_KEYYou can inspect the current local config with:
kuyuip config showIf you want to remove the saved key later:
kuyuip config unset keyUsage
Query an IP:
kuyuip 8.8.8.8Query a domain:
kuyuip openai.comQuery your current public IP:
kuyuip selfView usage:
kuyuip usageGet JSON output:
kuyuip lookup 8.8.8.8 --jsonShow command help:
kuyuip --helpUpdate
Upgrade to the latest version:
npm install -g kuyuip@latest