# Orthanc API Client in Java
Partly implemented Orthanc API Client written in Java using Retrofit.

## Orthanc
[Orthanc](http://www.orthanc-server.com/) is a open-source, lightweight DICOM server for healthcare and medical research.
[Reference to the Orthanc REST API](https://docs.google.com/spreadsheets/d/1muKHMIb9Br-59wfaQbDeLzAfKYsoWfDSXSmyt6P4EM8/pubhtml?gid=1689572701&single=true). This API Client does not implement all REST API calls.

## Usage
Build the project and use JAR file. For examples see [TestPrint](https://github.com/githinho/orthancAPIClient/blob/master/src/test/java/TestPrint.java).

### Tests
Test are done using [Mock Web Server](https://github.com/square/okhttp/tree/master/mockwebserver). All currently implement REST API calls are tested and covered with tests.

### Future work
Implement and test all Orthanc REST API functionalities. 

[![Build Status](https://travis-ci.org/githinho/orthancAPIClient.svg?branch=master)](https://travis-ci.org/githinho/orthancAPIClient)
[![codecov](https://codecov.io/gh/githinho/orthancAPIClient/branch/master/graph/badge.svg)](https://codecov.io/gh/githinho/orthancAPIClient)

# Orthanc API Client in Java
Partly implemented Orthanc API Client written in Java using Retrofit.

## Orthanc
[Orthanc](http://www.orthanc-server.com/) is a open-source, lightweight DICOM server for healthcare and medical research.
[Reference to the Orthanc REST API](https://docs.google.com/spreadsheets/d/1muKHMIb9Br-59wfaQbDeLzAfKYsoWfDSXSmyt6P4EM8/pubhtml?gid=1689572701&single=true). This API Client does not implement all REST API calls.

## Usage
Build the project and use JAR file. For examples see [TestPrint](https://github.com/githinho/orthancAPIClient/blob/master/src/test/java/TestPrint.java).

### Tests
Test are done using [Mock Web Server](https://github.com/square/okhttp/tree/master/mockwebserver). All currently implement REST API calls are tested and covered with tests.

### Future work
Implement and test all Orthanc REST API functionalities. 

Add Travis and Codecov badge to readme
Add Travis and Codecov badge to readme