/jwiki

📖 A library for effortlessly interacting with Wikipedia/MediaWiki

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

jwiki

Build Status JDK-11+ MediaWiki 1.31+ License: GPL v3 Patreon

Programmatically accessing Wikipedia/MediaWiki via the API is hard ☹️. I thought it didn't have to be, so I made it easy 😀. jwiki lets you perform all sorts of crazy API calls with 1️⃣ line of Java.

Yes, one line.

It's so easy that anyone (including your grandma 👵🏻) can write an application that works with MediaWiki.

Not convinced? Try out the examples.

Download

jwiki is on jcenter.

Maven

<dependency>
  <groupId>fastily</groupId>
  <artifactId>jwiki</artifactId>
  <version>1.7.0</version>
  <type>pom</type>
</dependency>

Gradle

compile 'fastily:jwiki:1.7.0'

Build

Build and publish jwiki on your local machine with

./gradlew build publishToMavenLocal

Resources

Support

If you like jwiki, then please consider becoming a patreon sponsor!

Please use issues for bug reports and/or feature requests.