// Path: jsoup-response/src/main/java/com/apitore/banana/response/org/jsoup/TextResponseEntity.java
// @ApiModel
// @Data
// @EqualsAndHashCode(callSuper=false)
// public class TextResponseEntity extends BaseResponseEntity {
// 
//   /**
//    *
//    */
//   private static final long serialVersionUID = 5066032034986918495L;
// 
//   @ApiModelProperty(required=true, value="Text")
//   private String text="";
// 
// }


import java.util.HashMap;
import java.util.Map;
import org.springframework.web.client.RestTemplate;
import com.apitore.banana.response.org.jsoup.TextResponseEntity;
import com.apitore.banana.utils.UrlFormatter;
package com.apitore.banana.response.org.jsoup.sample;






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

  static String ENDPOINT     = "https://api.apitore.com/api/12/jsoup/url2html";
  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("url", "https://apitore.com/");
    String url = UrlFormatter.format(ENDPOINT, params);

// Path: jsoup-response/src/main/java/com/apitore/banana/response/org/jsoup/TextResponseEntity.java
// @ApiModel
// @Data
// @EqualsAndHashCode(callSuper=false)
// public class TextResponseEntity extends BaseResponseEntity {
// 
//   /**
//    *
//    */
//   private static final long serialVersionUID = 5066032034986918495L;
// 
//   @ApiModelProperty(required=true, value="Text")
//   private String text="";
// 
// }


// Path: jsoup-response/src/main/java/com/apitore/banana/response/org/jsoup/sample/Api12Url2HtmlExample.java
import java.util.HashMap;
import java.util.Map;
import org.springframework.web.client.RestTemplate;
import com.apitore.banana.response.org.jsoup.TextResponseEntity;
import com.apitore.banana.utils.UrlFormatter;

package com.apitore.banana.response.org.jsoup.sample;






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

  static String ENDPOINT     = "https://api.apitore.com/api/12/jsoup/url2html";
  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("url", "https://apitore.com/");
    String url = UrlFormatter.format(ENDPOINT, params);

    TextResponseEntity response =