googledoc-to-json
Node.js library to read a Google Drive Doc and convert to JSON (via ArchieML)
This is a work-in-progress.
Install
npm install googledoc-to-json --save
Examples
CLI
$ npm install -g googledoc-to-json
$ googledoc-to-json <doc-id> -c .gtokens.json -o output.json
API
const GoogleDocToJSON = ;const config = ; // see 'Getting Credentials' belowconst gDocToJSON = config; const options = fileId: '1gTERIVPV_0yoMXc6mlBtBpNvaoH5pIU2IC-75V_Qcas' oAuthTokens: configoAuthTokens; gDocToJSON;
Getting credentials
cp .gtokens.example.json .gtokens.json
- Run the amazing Google-Tokens
- Populate
.gtokens.json
with appropriate values
Todos:
- Add Mocha tests