using System.Collections.Generic;
static string FetchData ()
HttpWebRequest request = (HttpWebRequest)WebRequest.Create ("https://steamcommunity.com/market/search/render/?appid=583950&norender=1&count=100&start=0");
HttpWebResponse response = (HttpWebResponse)request.GetResponse ();
return new StreamReader (response.GetResponseStream()).ReadToEnd();
static string [] ParseNames (string json)
List<string> names = new List<string> ();
string [] parts = json.Split (new char [] { ',' });
for (int i = 0; i < parts.Length; ++i)
if (parts[i].StartsWith ("\"market_name\"")) {
names.Add (parts[i].Split (new char [] { ':'})[1]);
public static void Main()
string json = FetchData ();
string [] names = ParseNames (json);
Console.WriteLine (string.Join ("\n", names));