Exemple #1
0
        static void Main(string[] args)
        {
            string serviceUrl = string.Format("https://companycheck.p.mashape.com/companySearch?name={0}", "Google");
            var result = getDataFromAPI(serviceUrl).Body;

            var serializer = new JsonSerialisation<List<CompanySearchResult>>();
            var searchResults = serializer.FromString(result);

            Console.WriteLine(searchResults);
        }