Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 663 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 663 Bytes

gorse.js

TypeScript SDK for Gorse recommender system.

CI

Install

  • Install with npm:
npm install gorsejs
  • Install with yarn:
yarn add gorsejs

Usage

Create a client by the entrypoint and api key.

import { Gorse } from "gorsejs";

const client = new Gorse({
  endpoint: "http://127.0.0.1:8087",
  secret: "api_key",
});

const reccomends = await client.getRecommend({userId: 'zhenghaoz'})