Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
SQL
I use Bing Web Search API. Everything works, but i can't to get the information under the URL. For example, when we search the query "site:linkedin.com somebody", we get some informations under the link, like "x connections". Is there anyway to get these informations via the API?
Posted

1 solution

It sounds pretty unclear, but probably, by "information under the link", you simply mean content the found URL points to. You simply need to download it and present somehow, using… whatever you have. This is done using the class System.Net.HttpWebReques or System.Net.Http.HttpClient:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/system.net.http.httpclient%28v=vs.118%29.aspx[^].

See also my past answers:
get specific data from web page[^],
Performing a some kind of Web Request and getting result[^].

—SA
 
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