コード例 #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);
        }