Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gorse-io/gorse.net
.NET SDK for gorse recommender system
https://github.com/gorse-io/gorse.net
Last synced: about 2 months ago
JSON representation
.NET SDK for gorse recommender system
- Host: GitHub
- URL: https://github.com/gorse-io/gorse.net
- Owner: gorse-io
- License: apache-2.0
- Created: 2022-12-03T01:37:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T00:53:02.000Z (about 2 months ago)
- Last Synced: 2024-11-06T01:43:21.132Z (about 2 months ago)
- Language: C#
- Size: 28.3 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Gorse.NET
[![CI](https://github.com/gorse-io/Gorse.NET/actions/workflows/ci.yml/badge.svg)](https://github.com/gorse-io/Gorse.NET/actions/workflows/ci.yml)
[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/Gorse.NET)](https://www.nuget.org/packages/Gorse.NET/)
[![Nuget](https://img.shields.io/nuget/dt/Gorse.NET)](https://www.nuget.org/packages/Gorse.NET/).NET SDK for gorse recommender system
## Install
- Install via .NET CLI:
```bash
dotnet add package Gorse.NET
```- Install via NuGet Package Manager:
```bash
NuGet\Install-Package Gorse.NET
```## Usage
```c#
using Gorse.NET;var client = new Gorse("http://127.0.0.1:8087", "api_key");
client.InsertFeedback(new Feedback[]
{
new Feedback{FeedbackType="star", UserId="bob", ItemId="vuejs:vue", Timestamp="2022-02-24"},
new Feedback{FeedbackType="star", UserId="bob", ItemId="d3:d3", Timestamp="2022-02-25"},
new Feedback{FeedbackType="star", UserId="bob", ItemId="dogfalo:materialize", Timestamp="2022-02-26"},
new Feedback{FeedbackType="star", UserId="bob", ItemId="mozilla:pdf.js", Timestamp="2022-02-27"},
new Feedback{FeedbackType="star", UserId="bob", ItemId="moment:moment", Timestamp="2022-02-28"},
});client.GetRecommend("10");
```