import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
locations = client.dns.locations.list()
print(locations.continents)
List of All locations continents/countries/regions.
GET
/
dns
/
v2
/
locations
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
)
locations = client.dns.locations.list()
print(locations.continents)