
code snippet
import json
with open(fpath_export, 'rb') as f:
data = json.load(f)
import requests
import json
res = requests.get(f"{url}/info")
with open(fpath_export, 'w') as f:
json.dump(res.json(), f, indent=2)