# rocket-chat-rest-client
**Repository Path**: pmpleader/rocket-chat-rest-client
## Basic Information
- **Project Name**: rocket-chat-rest-client
- **Description**: 用于学习,研究Rocket.Chat接口
- **Primary Language**: Java
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-11-24
- **Last Updated**: 2023-11-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# rocket-chat-rest-client
Lightweight Java client for [Rocket.Chat](https://rocket.chat/)'s [REST API](https://rocket.chat/docs/developer-guides/rest-api) using [Unirest](http://unirest.io/java.html) and [Jackson](https://github.com/FasterXML/jackson-databind).
[](https://travis-ci.com/baloise/rocket-chat-rest-client) [](https://ci.craftyn.com/job/rocket-chat-rest-client/) [](https://www.codacy.com/app/graywolf336/rocket-chat-rest-client?utm_source=github.com&utm_medium=referral&utm_content=baloise/rocket-chat-rest-client&utm_campaign=Badge_Grade)
## Notes
* Requires Rocket.Chat v0.49.2 due to massive changes from Rocket.Chat, also v0.48 rewrote the REST API, see the [pull request #5140](https://github.com/RocketChat/Rocket.Chat/pull/5140) for details
* This api is still a work in progress, feel free to submit pull requests to add functionality
* Server url doesn't require `api/` anymore, but it can still be provided
* None of the results are cached, every time a method is called it goes out and gets it
* The method calls are sync and blocking
* Maven is configured to startup Rocket.Chat v.0.48-develop via docker therefore docker must be installed.
### JavaDoc
The JavaDoc is generated per build: https://ci.craftyn.com/job/rocket-chat-rest-client/javadoc/
### Maven
```xml
repo-snapshots
https://repo.craftyn.com/repository/snapshots/
com.github.baloise
rocket-chat-rest-client
0.1.2-SNAPSHOT
```
### Compiling
The maven build needs [Docker](https://www.docker.com) for integration testing. Please install it for your platform before running and also make sure your user has permission to use the docker command (Linux, add your user to the docker group).
```
mvn clean install
```
To keep the docker containers running:
```
mvn -Ddocker.keepRunning clean install
```