October 23, 2018
Releasing the Comfortable JavaScript SDK
Using the JavaScript SDK, you can now use all features like querying documents and assets or applying filters with just a few lines of code.
Here are a few quick steps to get you started:
1. Install the SDK by downloading it from npm or yarn:
npm install comfortable-javascript
or
yarn add comfortable-javascript
2. Include the dependency:
const Comfortable = require('comfortable-javascript');
3. Connect to your Repository and make your first request:
const api = Comfortable.api('{repository-api-id}', '{api-key}');
api.getDocuments()
.then(result => {
// futher implementation
})
.catch(err => {
throw err;
});
To learn more about the SDK have a look at the GitHub Repo or check out the Documentation.
We're exited to see what you're building with it.
In case you missend it: our PHP SDK did also receive an update with new features!