def list(self, type="local", country="US", region=None, area_code=None,
             postal_code=None, near_number=None, near_lat_long=None, lata=None,
             rate_center=None, distance=None, contains=None):
        """
        Search for phone numbers
        """
        params = transform_params({
               "InRegion": region,
               "InPostalCode": postal_code,
               "Contains": contains,
               "AreaCode": area_code,
               "InLata": lata,
               "InRateCenter": rate_center,
               "Distance": distance,
               "NearNumber": near_number,
               "NearLatLong": near_lat_long,
               })

        uri = "%s/%s/%s" % (self.uri, country, self.types[type])
        resp, page = self.request("GET", uri, params=params)

        return [self.load_instance(i) for i in page[self.key]]
dataset/ETHPy150Open twilio/howtos/intercom/twilio/rest/resources.py/AvailablePhoneNumbers.list/original