# DataONE Bookkeeper API
Bookkeeper is a RESTful service that is part of the [DataONE](https://dataone.org/) Coordinating Node
infrastructure. The Java classes in the Bookkeeper API implement the
[Bookkeeper API](https://app.swaggerhub.com/apis/dataoneorg/bookkeeper/v1) models. These classes
are used in [Bookkeeper](https://github.com/dataoneorg/bookkeeper) itself,
and other Java-based applications that interact with it.
Installation
------------
You can use the Bookkeeper API classes by importing the generated jar file into your project.
Clone the repository and use Maven to build and use the library:
```shell
git clone https://github.com/dataoneorg/bookkeeper-api
cd bookkeeper-api
mvn install
```
Released versions are also available in the [DataONE Maven repository](https://maven.dataone.org).
Add it to your project POM file:
```xml
dataone.org
http://maven.dataone.org/
true
true
```
and add a dependency:
```xml
org.dataone
bookkeeper-api
1.0.0
```