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_countries()print(response)
Copy
Ask AI
{}
DNS Locations
Country Location
List of All locations countries.
GET
/
dns
/
v2
/
locations
/
countries
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_countries()print(response)