@Test public void testGeographicPoiGetGet() throws ApiException, IOException { PoiApi api = getPoiApi(); String id = "556eb3c9d61c8170d8cd6410"; PoiDetailsResponse poiDetailsResponse = api.geographicPoiGetGet(id, null, null); System.out.println(poiDetailsResponse.toString()); }
@Test public void testGeographicPoiListGet() throws ApiException, IOException { PoiApi api = getPoiApi(); PoiResponse poiResponse = api.geographicPoiListGet( null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); System.out.println(poiResponse.toString()); }
@Test public void testGeographicPoiListGetWithParameters() throws ApiException, IOException { PoiApi api = getPoiApi(); double lat = 47.219510; double lng = -1.553694; double radius = 1000; PoiResponse poiResponse = api.geographicPoiListGet( lat, lng, radius, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); System.out.println(poiResponse.toString()); }
@Test public void testGeographicPoiListGetWithFilter() throws ApiException, IOException { PoiApi api = getPoiApi(); double lat = 47.219510; double lng = -1.553694; double radius = 1000; List<String> filter = new ArrayList<String>(); // filter.add("OUEST INFO"); // filter.add("RHUMS ET COCKTAILS"); filter.add("LES SENTIERS DE DAKAR"); PoiResponse poiResponse = api.geographicPoiListGet( lat, lng, radius, null, null, null, null, filter, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); System.out.println(poiResponse.toString()); }