code: def get_zones(self, q=None, **kwargs):
          
          uri = "/v1/zones"
          params = build_params(q, kwargs)
          return self.rest_api_connection.get(uri, params)
docs: Returns a list of zones across all of the user's accounts.
  
          Keyword Arguments:
          q -- The search parameters, in a dict.  Valid keys are:
               name - substring match of the zone name
               zone_type - one of:
                  PRIMARY
                  SECONDARY
                  ALIAS
          sort -- The sort column used to order the list. Valid values for the sort field are:
                  NAME
                  ACCOUNT_NAME
                  RECORD_COUNT
                  ZONE_TYPE
          reverse -- Whether the list is ascending(False) or descending(True)
          offset -- The position in the list for the first returned element(0 based)
          limit -- The maximum number of rows to be returned.