I used the LINQ-to-Wiki to get Wikipedia pages on my ASP.NET MVC webapplication. I used the query below to get pages called "India."
var wikipedia = new Wiki("Example"); var data = wikipedia.Query.allpages() .Where(i => i.prefix == "India") .ToList();
But he gives all the pages related to India, not just Places / Cities. How to get only "Places / Cities" from this query? Or how to search for a place by the "categorymembers" property. Can anybody help?
source share