import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
shields = client.cdn.shields.list()
print(shields)
Get information about all origin shielding locations available in the account.
GET
/
cdn
/
shieldingpop_v2
Python
Copy
Ask AI
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
shields = client.cdn.shields.list()
print(shields)