10 lines
222 B
Python
10 lines
222 B
Python
import json
|
|
import urllib.request
|
|
|
|
REGISTRY_URL = "https://raw.githubusercontent.com/acme/registry/main/registry.json"
|
|
|
|
|
|
def load_registry():
|
|
with urllib.request.urlopen(REGISTRY_URL) as r:
|
|
return json.load(r)
|