Page 1 of 1

Bookends NodeJS API client released (experimental)

Posted: Mon Jul 30, 2018 9:45 am
by cboulanger
I've already posted this in the general forum, but here's probably the more relevant place.

For those who would like to use NodeJS to script Bookends, here's an NPM package that lets you do just that:

https://github.com/cboulanger/bookends-api
https://www.npmjs.com/package/bookends-api

The mocha test suite shows how it is used: https://github.com/cboulanger/bookends- ... pi.test.js

I am definitely happy to accept pull requests if you want to contribute fixes/improvements.

I have asked Jon if he can add AppleScript support for the following actions (updated):
- Rename/delete groups
- Delete references
- Remove references from groups
- Create/rename/delete folders
- Add/Remove groups to/from folder

Re: Bookends NodeJS API client released (experimental)

Posted: Mon Aug 06, 2018 11:12 am
by cboulanger
Here are two scripts based on the Bookends NodeJS client: