0.2.8 • Published 2 months ago

@logi.one/document-client v0.2.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

LogiONE Document Client

This is a client for the LogiONE Document's API.

www.logi.one/document

Install

npm install @logi.one/document-client

Quick start

You can use createLogiONEDocumentClient to create a client instance.

It will try to read the API key from the .logione-document-api-token file. If it doesn't find the file, it will read the api token from the environment key: LOGIONE_DOCUMENT_API_TOKEN. If it is not set, it will ask for the API key from the command line. The client will automatically refresh the token when it expires and save it to the .logione-document-api-token file.

const { createLogiONEDocumentClient } = require('@logi.one/document-client')

async function run() {    
    const client = await createLogiONEDocumentClient()     
    const documents = await client.search('documents', { limit: 10, columnFilters: [{ column: 'extension', value: 'docx', match: true }] })     
    console.table(documents)
}

run()

Need for support

If you need support, please feel free to contact us at info@logi.one. We will be happy to help you.

0.2.8

2 months ago

0.2.7

5 months ago

0.2.6

5 months ago

0.2.5

5 months ago

0.2.4

8 months ago

0.2.3

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago