Examples of queryCategories()


Examples of info.bliki.api.User.queryCategories()

  public static void testQueryCategories001() {
    String[] listOfTitleStrings = { "Main Page", "API" };
    User user = new User("", "", "http://meta.wikimedia.org/w/api.php");
    user.login();
    List<Page> listOfPages = user.queryCategories(listOfTitleStrings);
    for (Page page : listOfPages) {
      // print page information
      System.out.println(page.toString());
      for (int j = 0; j < page.sizeOfCategoryList(); j++) {
        Category cat = page.getCategory(j);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.