// Path: wordnet-response/src/main/java/com/apitore/banana/response/de/sciss/ws4j/LinksResponseEntity.java
// @ApiModel
// @Data
// @EqualsAndHashCode(callSuper=false)
// public class LinksResponseEntity extends BaseResponseEntity {
// 
//   /**
//    *
//    */
//   private static final long serialVersionUID = -2982202860771009522L;
// 
//   @ApiModelProperty(required=true, value="Input word")
//   private String word="";
//   @ApiModelProperty(required=true, value="Entries")
//   private List<LinkWordsEntity> entries=new ArrayList<>();
// 
// }


import java.util.HashMap;
import java.util.Map;
import org.springframework.web.client.RestTemplate;
import com.apitore.banana.response.de.sciss.ws4j.LinksResponseEntity;
import com.apitore.banana.utils.UrlFormatter;
package com.apitore.banana.response.de.sciss.ws4j.sample;






/**
 * @author Keigo Hattori
 */
public class Api42WordNetSimpleHypernymExample {

  static String ENDPOINT     = "https://api.apitore.com/api/42/wordnet-simple/hypernym";
  static String ACCESS_TOKEN = "YOUR-ACCESS-TOKEN";

  public static void main(String[] args) {
    RestTemplate restTemplate = new RestTemplate();
    Map<String, String> params = new HashMap<String, String>();
    params.put("access_token", ACCESS_TOKEN);
    params.put("word", "犬");
    String url = UrlFormatter.format(ENDPOINT, params);

// Path: wordnet-response/src/main/java/com/apitore/banana/response/de/sciss/ws4j/LinksResponseEntity.java
// @ApiModel
// @Data
// @EqualsAndHashCode(callSuper=false)
// public class LinksResponseEntity extends BaseResponseEntity {
// 
//   /**
//    *
//    */
//   private static final long serialVersionUID = -2982202860771009522L;
// 
//   @ApiModelProperty(required=true, value="Input word")
//   private String word="";
//   @ApiModelProperty(required=true, value="Entries")
//   private List<LinkWordsEntity> entries=new ArrayList<>();
// 
// }


// Path: wordnet-response/src/main/java/com/apitore/banana/response/de/sciss/ws4j/sample/Api42WordNetSimpleHypernymExample.java
import java.util.HashMap;
import java.util.Map;
import org.springframework.web.client.RestTemplate;
import com.apitore.banana.response.de.sciss.ws4j.LinksResponseEntity;
import com.apitore.banana.utils.UrlFormatter;

package com.apitore.banana.response.de.sciss.ws4j.sample;






/**
 * @author Keigo Hattori
 */
public class Api42WordNetSimpleHypernymExample {

  static String ENDPOINT     = "https://api.apitore.com/api/42/wordnet-simple/hypernym";
  static String ACCESS_TOKEN = "YOUR-ACCESS-TOKEN";

  public static void main(String[] args) {
    RestTemplate restTemplate = new RestTemplate();
    Map<String, String> params = new HashMap<String, String>();
    params.put("access_token", ACCESS_TOKEN);
    params.put("word", "犬");
    String url = UrlFormatter.format(ENDPOINT, params);

    LinksResponseEntity response =