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