Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
1.86/5 (3 votes)
See more:
Hi All,

I am calling www.boardgamegeek.com API.

I am using below code:
HttpClient client = new HttpClient();
        client.BaseAddress = new Uri("http://www.boardgamegeek.com/xmlapi/collection/dhasmain");
        client.DefaultRequestHeaders.Accept.Add(
        new MediaTypeWithQualityHeaderValue("application/json"));

        // List data response.
        HttpResponseMessage response = client.GetAsync("?own=1").Result; 
        if (response.IsSuccessStatusCode)
        {
            var dataObjects = response.Content.ReadAsStringAsync().Result;
        }
        else
        {
            Console.WriteLine("{0} ({1})", (int)response.StatusCode, response.ReasonPhrase);
        }


But it is showing Result=Not yet computed

Please anyone suggest me what is the issue.

Thanks in advance,
Rohit
Posted
Comments
ZurdoDev 6-Nov-14 14:04pm    
I suggest asking them.

1 solution

If you have questions about a 3rd party API like that, you ask the people who wrote the API, not a bunch of people who have never heard of it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900