Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gorse-io/gorse4j
Java SDK for gorse recommender system
https://github.com/gorse-io/gorse4j
Last synced: about 2 months ago
JSON representation
Java SDK for gorse recommender system
- Host: GitHub
- URL: https://github.com/gorse-io/gorse4j
- Owner: gorse-io
- License: apache-2.0
- Created: 2022-08-09T01:01:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T01:22:24.000Z (over 1 year ago)
- Last Synced: 2024-04-30T10:24:55.461Z (8 months ago)
- Language: Java
- Size: 22.5 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Gorse4J
[![CI](https://github.com/gorse-io/gorse4j/actions/workflows/ci.yml/badge.svg)](https://github.com/gorse-io/gorse4j/actions/workflows/ci.yml)
![Maven Central](https://img.shields.io/maven-central/v/io.gorse/gorse-client)Java SDK for gorse recommender system
## Install
```xml
io.gorse
gorse-client
0.4.0```
## Usage
```java
import io.gorse.gorse4j.*;public class Main {
public static void main(String[] args) {
Gorse client = new Gorse(GORSE_ENDPOINT, GORSE_API_KEY);List feedbacks = List.of(
new Feedback("read", "100", "300", "2022-11-20T13:55:27Z"),
new Feedback("read", "100", "400", "2022-11-20T13:55:27Z")
);
client.insertFeedback(feedbacks);client.getRecommend("100");
}
}
```