code: public static List<AvailableNumber> searchLocal(final BandwidthClient client, final Map<String, Object>params) 
      																							throws Exception {
      	
          final String tollFreeUri = BandwidthConstants.AVAILABLE_NUMBERS_LOCAL_URI_PATH;
          final JSONArray array = toJSONArray(client.get(tollFreeUri, params));
  
          final List<AvailableNumber> numbers = new ArrayList<AvailableNumber>();
          for (final Object obj : array) {
              numbers.add(new AvailableNumber(client, (JSONObject) obj));
          }
          return numbers;
      }
docs: Convenience factory method to return local numbers based on a given search criteria for a given client
  @param client the client
  @param params the params
  @return the list
  @throws IOException unexpected error.