Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keksuccino/bookstacker

BookStack API wrapper for Java.
https://github.com/keksuccino/bookstacker

api bookstack java open-source simple wiki wrapper

Last synced: 24 days ago
JSON representation

BookStack API wrapper for Java.

Awesome Lists containing this project

README

        

## About
BookStacker is a [BookStack](https://github.com/BookStackApp/BookStack) API wrapper for Java.

## How to Use
To use the API, just create a new `BookStack` instance.

```java
import de.keksuccino.bookstacker.BookStack;

public static BookStack bookstack;

public static void main(String[] args) {

String wikiUrl = "http://mywiki.com";
String apiToken = "0000000000000000000";
String apiSecret = "0000000000000000000";

bookstack = new BookStack(wikiUrl, apiToken, apiSecret);

bookstack.createBook("Some Book Title", "This is a book description.")

}
```

> **IMPORTANT**: You need an API token and secret to use the BookStack API.

They can be generated in the user settings of your wiki.

## Dependencies
- [Gson](https://github.com/google/gson)

## License and Copyright
BookStacker Copyright © 2021 Keksuccino.

BookStacker is licensed under MIT.

See [LICENSE](https://github.com/Keksuccino/BookStacker/blob/main/LICENSE) for more informations.