Merge pull request #106 from nitta-lab-2019/yolp
お願いされました。
commit 1671522c7ba508cbf87c243805a0b5f278294a0b
2 parents 85da900 + 295cfaa
morimoto katsutoshi authored on 8 Nov 2019
Showing 1 changed file
View
2
■■■
src/main/java/com/example/cosmos_serversb/models/Shops.java
}
return head;
}
 
private static JsonNode yolpConnection(String leftLatitude, String leftLongitude, String rightLatitude, String rightLongitude, int start, String gc) {
private static JsonNode yolpConnection(String leftLongitude, String leftLatitude, String rightLongitude, String rightLatitude, int start, String gc) {
String Result;
JsonNode json;
String URL = "https://map.yahooapis.jp/search/local/V1/localSearch?bbox=" + leftLongitude + "," + leftLatitude + "," + rightLongitude + "," + rightLatitude + "&gc=" + gc + "&start=" + start + "&results=100&output=json&appid=dj00aiZpPTVzYzloUDJjS0VMSyZzPWNvbnN1bWVyc2VjcmV0Jng9MGE-";
Result = getResult(URL);