public static TraktResponse TestAccount(TraktAccountTestData data) { string url = TraktConfig.URL.TestAccount; string json = CallAPI(url, JSONUtil.ToJSON(data)); return(JSONUtil.FromJSON <TraktResponse>(json)); }
public static FollwitResponse UpdateEpisodeState(FollwitEpisode data, FollwitWatchStatus status) { string url = String.Format(FollwitConfig.URL.WatchEpisode, MapToURL(status)); string json = CallAPI(url, JSONUtil.ToJSON(data)); return(JSONUtil.FromJSON <FollwitResponse>(json)); }
public static TraktResponse ScrobbleEpisode(TraktEpisodeScrobbleData data, TraktWatchStatus status) { string url = String.Format(TraktConfig.URL.ScrobbleShow, MapToURL(status)); string json = CallAPI(url, JSONUtil.ToJSON(data)); return(JSONUtil.FromJSON <TraktResponse>(json)); }
public static FollwitResponse TestAccount(FollwitAccountTestData data) { string json = CallAPI(FollwitConfig.URL.TestAccount, JSONUtil.ToJSON(data)); return(JSONUtil.FromJSON <FollwitResponse>(json)); }