import osfrom gcore import Gcoreclient = 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 osfrom gcore import Gcoreclient = 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)