Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) locations = client.dns.locations.list() print(locations.continents)
{ "continents": {}, "countries": {}, "regions": {} }
List of All locations continents/countries/regions.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
AllResponse
The response is of type object.
object
Was this page helpful?