import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
response = client.dns.locations.list_continents()
print(response)
Copy
Ask AI
{}
DNS Locations
Continent Locations
List of All locations continents.
GET
/
dns
/
v2
/
locations
/
continents
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
)
response = client.dns.locations.list_continents()
print(response)