示例#1
0
        public string RequestDadosPlatform(DadosPlatformRequest request)
        {
            return(null);

            string resposta = string.Empty;
            string url      = requestUrl + "/platforms/" + string.Join(",", request.Ids) + "?fields=" + request.Fields;

            return(DoRequest(url));
        }
示例#2
0
        public List <DadosPlatformResponse> DadosPlatform(int[] plats)
        {
            return(null);

            RequestService       requestService = new RequestService();
            DadosPlatformRequest request        = new DadosPlatformRequest {
                Ids = plats
            };

            string resposta = requestService.RequestDadosPlatform(request);

            List <DadosPlatformResponse> response = JsonConvert.DeserializeObject <List <DadosPlatformResponse> >(resposta);

            return(response);
        }