<commit_before>package com.ddiehl.android.simpleredditreader.web;

import com.ddiehl.android.simpleredditreader.model.listings.ListingResponse;

import java.util.List;

import retrofit.Callback;
import retrofit.client.Response;
import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.http.Path;
import retrofit.http.Query;

public interface RedditAPI {

    @FormUrlEncoded @POST("/api/v1/access_token")
    void getApplicationAuthToken(@Field("grant_type") String grantType,
                                 @Field("device_id") String deviceId,
                                 Callback<AuthTokenResponse> callback);

    @FormUrlEncoded @POST("/api/v1/access_token")
    void getUserAuthToken(@Field("grant_type") String grantType,
                          @Field("code") String code,
                          @Field("redirect_uri") String redirectUri,
                          Callback<AuthTokenResponse> callback);

    @GET("/r/{subreddit}/{sort}.json")<commit_msg>Removed unneeded methods from RedditAPI<commit_after>package com.ddiehl.android.simpleredditreader.web;

import com.ddiehl.android.simpleredditreader.model.listings.ListingResponse;

import java.util.List;

import retrofit.Callback;
import retrofit.client.Response;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.http.Path;
import retrofit.http.Query;

public interface RedditAPI {

    @GET("/r/{subreddit}/{sort}.json")
{'fraction_non_alphanumeric': 0.10843373493975904, 'fraction_numerical': 0.0013386880856760374, 'mean_word_length': 3.642857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1696384', 'n_tokens_mistral': 443, 'n_tokens_neox': 431, 'n_words': 76}