Skip to content

Commit 4fe5b09

Browse files
committed
readme
1 parent e65ca36 commit 4fe5b09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

providers/ipinfo/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ This provider makes public IP address information accessible from ipinfo.io.
44

55
It provides a connector for querying IP information via the ipinfo.io API.
66

7+
Examples:
8+
cnquery shell ipinfo
9+
cnquery run -c "ipinfo(ip('8.8.8.8')){*}"
10+
cnquery run -c "ipinfo(){*}" # Query your public IP"
11+
cnquery run -c "network.interfaces.map(ips.map(_.ip)).flat.map(ipinfo(_){*})"
12+

0 commit comments

Comments
 (0)