获取当前手机的公网IP地址 (device.public_ip)

声明

公网IP = device.public_ip()

参数及返回值

  • 公网IP
    • 当前手机的公网IP信息

示例

ip = device.public_ip()
print(ip)
powered by GitbookFile Modify: 2021-03-27 23:14:19

results matching ""

    No results matching ""