// Path: src/main/java/com/scorpiac/javarant/responses/CollabsFeedResponse.java
// public class CollabsFeedResponse extends AbstractRantsFeedResponse<Collab> {
// }
// 
// Path: src/main/java/com/scorpiac/javarant/responses/RantsFeedResponse.java
// public class RantsFeedResponse extends AbstractRantsFeedResponse<Rant> {
// }
// 
// Path: src/main/java/com/scorpiac/javarant/responses/ResultsFeedResponse.java
// public class ResultsFeedResponse extends Response<List<Rant>> {
//     @JsonProperty
//     void setResults(List<Rant> results) {
//         value = results;
//     }
// }


import com.scorpiac.javarant.responses.CollabsFeedResponse;
import com.scorpiac.javarant.responses.RantsFeedResponse;
import com.scorpiac.javarant.responses.ResultsFeedResponse;
import org.apache.http.message.BasicNameValuePair;
import java.util.List;
     * @return Weekly rants from the feed.
     */
    public List<Rant> getWeekly(Sort sort, int skip) {
        return devRant.getRequestHandler().get(ApiEndpoint.WEEKLY, RantsFeedResponse.class,
                new BasicNameValuePair("sort", sort.toString()),
                new BasicNameValuePair("skip", String.valueOf(skip))
        ).getValueOrError();
    }

    /**
     * Get stories from the feed.
     *
     * @param sort How to sort the feed.
     * @param skip How many rants to skip.
     * @return Stories from the feed.
     */
    public List<Rant> getStories(Sort sort, int skip) {
        return devRant.getRequestHandler().get(ApiEndpoint.STORIES, RantsFeedResponse.class,
                new BasicNameValuePair("sort", sort.toString()),
                new BasicNameValuePair("skip", String.valueOf(skip))
        ).getValueOrError();
    }

    /**
     * Get collabs from the feed.
     *
     * @param limit How many rants to get.
     * @return Collabs from the feed.
     */
    public List<Collab> getCollabs(int limit) {
// Path: src/main/java/com/scorpiac/javarant/responses/CollabsFeedResponse.java
// public class CollabsFeedResponse extends AbstractRantsFeedResponse<Collab> {
// }
// 
// Path: src/main/java/com/scorpiac/javarant/responses/RantsFeedResponse.java
// public class RantsFeedResponse extends AbstractRantsFeedResponse<Rant> {
// }
// 
// Path: src/main/java/com/scorpiac/javarant/responses/ResultsFeedResponse.java
// public class ResultsFeedResponse extends Response<List<Rant>> {
//     @JsonProperty
//     void setResults(List<Rant> results) {
//         value = results;
//     }
// }


// Path: src/main/java/com/scorpiac/javarant/DevRantFeed.java
import com.scorpiac.javarant.responses.CollabsFeedResponse;
import com.scorpiac.javarant.responses.RantsFeedResponse;
import com.scorpiac.javarant.responses.ResultsFeedResponse;
import org.apache.http.message.BasicNameValuePair;
import java.util.List;

     * @return Weekly rants from the feed.
     */
    public List<Rant> getWeekly(Sort sort, int skip) {
        return devRant.getRequestHandler().get(ApiEndpoint.WEEKLY, RantsFeedResponse.class,
                new BasicNameValuePair("sort", sort.toString()),
                new BasicNameValuePair("skip", String.valueOf(skip))
        ).getValueOrError();
    }

    /**
     * Get stories from the feed.
     *
     * @param sort How to sort the feed.
     * @param skip How many rants to skip.
     * @return Stories from the feed.
     */
    public List<Rant> getStories(Sort sort, int skip) {
        return devRant.getRequestHandler().get(ApiEndpoint.STORIES, RantsFeedResponse.class,
                new BasicNameValuePair("sort", sort.toString()),
                new BasicNameValuePair("skip", String.valueOf(skip))
        ).getValueOrError();
    }

    /**
     * Get collabs from the feed.
     *
     * @param limit How many rants to get.
     * @return Collabs from the feed.
     */
    public List<Collab> getCollabs(int limit) {
        return devRant.getRequestHandler().get(ApiEndpoint.COLLABS, CollabsFeedResponse.class,