0.5.0 • Published 2 years ago

@openk9/rest-api v0.5.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 years ago

OpenK9 JS REST API Interface

This package contains tpescript client for the OpenK9 REST API.

import { OpenK9Client } from "@opekn9/rest-api";

const client = OpenK9Client("https://demo.openk9.io");

const results = await client.doSearch({
  searchQuery: [{ tokenType: "TEXT", values: ["hello world"], filter: false }],
  range: [0, 10],
});