keyguard-app-Bitwarden-Vaul.../.github/update_gpm_passkeys_priv_ap...

15 lines
341 B
Python
Raw Normal View History

2023-12-29 17:38:23 +01:00
import json
import requests
URL_APPS = "https://www.gstatic.com/gpm-passkeys-privileged-apps/apps.json"
response = requests.get(
URL_APPS,
)
json_obj = response.json()
json_text = json.dumps(json_obj, indent=2)
with open('common/src/commonMain/resources/MR/files/gpm_passkeys_privileged_apps.json', 'w') as f:
f.write(json_text)