Exemplo n.º 1
0
        public async Task <ResponseObject> ConfirmAsSolvedAsync(string itemId)
        {
            var requestBody = RequestBodyFactory.GetRequestBody(RequestBody.ConfirmAsSolved, itemId);

            return(JsonConvert.DeserializeObject <ResponseObject>(await Manager.PerformRequestAsync("my/missing-item-solved", requestBody)));
        }
Exemplo n.º 2
0
        public async Task <ResponseObject> CancelBetDataAsync(string id, string match)
        {
            var requestBody = RequestBodyFactory.GetRequestBody(RequestBody.CancelBetData, id, match);

            return(JsonConvert.DeserializeObject <ResponseObject>(await Manager.PerformRequestAsync("my/cancel-bet", requestBody)));
        }
Exemplo n.º 3
0
        public async Task <ResponseObject> SetClaimQueueAsync(string betID, string t, string code)
        {
            var requestBody = RequestBodyFactory.GetRequestBody(RequestBody.SetClaimQueue, betID, t, code);

            return(JsonConvert.DeserializeObject <ResponseObject>(await Manager.PerformRequestAsync("my/claim-queue", requestBody)));
        }
Exemplo n.º 4
0
        public async Task <ResponseObject> SetOfferStashQueueAsync(List <string> items, List <string> originalIds, string mode)
        {
            var requestBody = RequestBodyFactory.GetRequestBody(RequestBody.SetOfferStashQueue, items, originalIds);

            return(JsonConvert.DeserializeObject <ResponseObject>(await Manager.PerformRequestAsync("my/stash-add/mode/" + mode, requestBody)));
        }
Exemplo n.º 5
0
        public async Task <ResponseObject> SwitchTeamAsync(string id, string match)
        {
            var requestBody = RequestBodyFactory.GetRequestBody(RequestBody.SwitchTeam, id, match);

            return(JsonConvert.DeserializeObject <ResponseObject>(await Manager.PerformRequestAsync("my/switch-bet/", requestBody)));
        }