Skip to main content
GET
/
cdn
/
shieldingpop_v2
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
shields = client.cdn.shields.list()
print(shields)
[
  {
    "id": 123,
    "datacenter": "<string>",
    "country": "<string>",
    "city": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Response

200 - application/json

Successful.

id
integer

Origin shielding location ID.

datacenter
string

Name of origin shielding location datacenter.

country
string

Country of origin shielding location.

city
string

City of origin shielding location.

I