Пример #1
0
        public string RequestDadosDeveloperPublisherGame(DadosDeveloperPublisherRequest request)
        {
            string resposta = string.Empty;
            string url      = requestUrl + "/buscar_dados_empresas/" + string.Join(",", request.Ids);

            return(DoRequest(url));
        }
Пример #2
0
        public List <DadosDeveloperPublisherResponse> DadosDeveloperPublisher(int[] devs)
        {
            RequestService requestService          = new RequestService();
            DadosDeveloperPublisherRequest request = new DadosDeveloperPublisherRequest {
                Ids = devs
            };

            string resposta = requestService.RequestDadosDeveloperPublisherGame(request);

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

            return(response);
        }