views:

39

answers:

4
A: 

You need to make a HTTP request to the website and then parse the HTML source by identifying unique flags around the variable score.

Sam152
+1  A: 

Hi!

You can send an http request and parse the output html to retrieve the value. Otherwise you can try to find out, if MetaCritic has a webservice itself, what I think is reasonable because Steam includes MetaCritic scores too.

Best Regards
Oliver Hanappi

Oliver Hanappi
A: 

Use the HttpWebRequest class to open the site, then search the returned Response for the specific HTML element , probably using something like

responsestring.IndexOf("class=\"scoreelemementclass\"")

Colin
+1  A: 

For the HTTP request side of things, WebClient is probably the easiest.

For a simple, blocking HTTP request, do this:

string page = (new WebClient()).DownloadString("http://foo.bar/page");
Charlie Somerville