esidoc.js

1.0.0 • Public • Published

esidoc.js

Simple JS client for Esidoc's private API. Probably just scratches the surface of what the API can do, but for now the 2 of the main features are there: search documents & get info about the school.

Example

import Esidoc from "esidoc.js";

(async () => {
	const client = await new Esidoc("your-code").init();
	const info = await client.about();
	const query = await client.search({ query: "agatha christie" });
	// Everything is typed, and the keys are more or less explicit about how they do.
	// Sometimes, the data types are a bit confusing (with values such as: "5" in string)
})();

Readme

Keywords

none

Package Sidebar

Install

npm i esidoc.js

Weekly Downloads

5

Version

1.0.0

License

ISC

Unpacked Size

24 kB

Total Files

11

Last publish

Collaborators

  • a2b