Package info.bliki.api

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


        return testAPI(title, "http://de.wikipedia.org/w/api.php", wikipediaDe, GERMAN);
    }

    private Result testAPI(String title, String apiLink, WikiDB db, Locale locale) throws IOException {
        User user = new User(null, null, apiLink);
        user.login();

        Path mainDirectory = Files.createTempDirectory("bliki-" + encodeTitleLocalUrl(title).replace("/", "_"));
        Path imageDirectory = mainDirectory.resolve("WikiImages");

        APIWikiModel wikiModel = new APIWikiModel(user, db,
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.