/// <summary> /// Begin a new asynchronous AroundMeLeaderboardRequestAsync /// </summary> /// <param name="requestData"></param> /// <returns></returns> public async Task <GameSparksLeaderboardDataResponse> AroundMeLeaderboardRequestAsync(AroundMeLeaderboardRequest requestData) { var res = await Requestor.PostStringAsync(Urls.AroundMeLeaderboardRequest, JsonHelper.SerializeData(requestData)); return(JsonConvert.DeserializeObject <GameSparksLeaderboardDataResponse>(res.ResponseJson)); }
/// <summary> /// Begin a new AroundMeLeaderboardRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public GameSparksLeaderboardDataResponse AroundMeLeaderboardRequest(AroundMeLeaderboardRequest requestData) { return(JsonConvert.DeserializeObject <GameSparksLeaderboardDataResponse>(Requestor.PostString(Urls.AroundMeLeaderboardRequest, JsonHelper.SerializeData(requestData)).ResponseJson)); }