Hello.
I build a winform app. i want to search product on ebay.com by keyword. i tried but i couldn't.
how can i do it ?..
Give me advices, please!
Thanks.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradeep ShetPosted Jan 27, 2015, 5:10 AM
Do you know which API methods does ebay exposes. Once you know that it will be simple to access those API using
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Accept.Add(
new MediaTypeWithQualityHeaderValue("application/json"));
HttpResponseMessage response = client.GetAsync("http://localhost:56851/api/User").Result;
if (response.IsSuccessStatusCode)
{
var result = response.Content.ReadAsAsync
}
Mark it as answered if it helped you.