0.0.3 • Published 6 years ago
coveo-client v0.0.3
Coveo Cloud JS Client
Javascript client for the Coveo Cloud platform.
Usage
Constructor
var client = new Coveo.Client({
organizationId: "qadynamics",
token: "[some API key]"
});
Sources
client.Sources.get()
.then(sources => sources.map(source => console.log(source.name)));
Source
Get
client.Source.get("id");
Delete
client.Source.delete("id");
Create
client.Source.delete("id", {});
Rebuild
client.Source.rebuild("id");
Build
npm run build