git-subtree-dir: .claude/llm-functions git-subtree-split: 616d8d84c5565fdb66d8782ae5ba56d994bfa82a
10 lines
199 B
Python
10 lines
199 B
Python
import urllib.request
|
|
|
|
def get_ipinfo():
|
|
"""
|
|
Get the ip info
|
|
"""
|
|
with urllib.request.urlopen("https://httpbin.org/ip") as response:
|
|
data = response.read()
|
|
return data.decode('utf-8')
|