from pyodide.http import open_url import json url = "https://httpbin.org/ip" #ipアドレスを返してくれる res = json.loads(open_url(url).read()) print(res)