@openk9/rest-api
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

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],
});

Readme

Keywords

Package Sidebar

Install

npm i @openk9/rest-api

Homepage

openk9.io/

Weekly Downloads

6

Version

0.5.0

License

AGPL-3.0-or-later

Unpacked Size

148 kB

Total Files

7

Last publish

Collaborators

  • smcdevops
  • dekster
  • giulioz