// Path: rome-response/src/main/java/com/apitore/banana/response/org/rome/SyndFeedResponseEntity.java
// @ApiModel
// @Data
// @EqualsAndHashCode(callSuper=false)
// public class SyndFeedResponseEntity extends BaseResponseEntity {
// 
//   /**
//    *
//    */
//   private static final long serialVersionUID = 1612117803916011224L;
// 
//   @ApiModelProperty(required=true, value="Input RSS")
//   private String rss="";
//   @ApiModelProperty(required=false, value="Author")
//   private String author="";
//   @ApiModelProperty(required=true, value="Title")
//   private String title="";
//   @ApiModelProperty(required=true, value="Link")
//   private String link="";
//   @ApiModelProperty(required=false, value="Description")
//   private String description="";
//   @ApiModelProperty(required=true, value="Published Date")
//   private Date pubDate=new Date();
//   @ApiModelProperty(required=true, value="Num")
//   private int num=0;
//   @ApiModelProperty(required=true, value="Entries")
//   private List<SyndEntryEntity> entries=new ArrayList<>();
// 
// }


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






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

  static String ENDPOINT     = "https://api.apitore.com/api/28/rome/rss2json";
  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("rss", "http://news.yahoo.co.jp/pickup/rss.xml");
    String url = UrlFormatter.format(ENDPOINT, params);

// Path: rome-response/src/main/java/com/apitore/banana/response/org/rome/SyndFeedResponseEntity.java
// @ApiModel
// @Data
// @EqualsAndHashCode(callSuper=false)
// public class SyndFeedResponseEntity extends BaseResponseEntity {
// 
//   /**
//    *
//    */
//   private static final long serialVersionUID = 1612117803916011224L;
// 
//   @ApiModelProperty(required=true, value="Input RSS")
//   private String rss="";
//   @ApiModelProperty(required=false, value="Author")
//   private String author="";
//   @ApiModelProperty(required=true, value="Title")
//   private String title="";
//   @ApiModelProperty(required=true, value="Link")
//   private String link="";
//   @ApiModelProperty(required=false, value="Description")
//   private String description="";
//   @ApiModelProperty(required=true, value="Published Date")
//   private Date pubDate=new Date();
//   @ApiModelProperty(required=true, value="Num")
//   private int num=0;
//   @ApiModelProperty(required=true, value="Entries")
//   private List<SyndEntryEntity> entries=new ArrayList<>();
// 
// }


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

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






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

  static String ENDPOINT     = "https://api.apitore.com/api/28/rome/rss2json";
  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("rss", "http://news.yahoo.co.jp/pickup/rss.xml");
    String url = UrlFormatter.format(ENDPOINT, params);

    SyndFeedResponseEntity response =