0.0.16 • Published 6 years ago

@datagica/datanote-api-client v0.0.16

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Datanote API client

Very basic Node client for the Datanote API (only one endpoint)

Quickstart

> require('@datagica/datanote-api-client')()(
  'pablo picasso',
  { domain: 'arts' }
 ).then(res =>
   console.log(JSON.stringify(res, null, 2))
 )

Usage

const Datanote = require("@datagica/datanote-api-client");

const datanote = Datanote({
  url: 'https://test-api.datanote.io',
  token: 'test'
})

// note if you omit the types, the API will try to auto detect them but this is
// not very accurate for the moment
datanote('My name is Jane doe and I study the ebolavirus', {
  types: [ 'protagonist', 'virus' ]
}).then(result => {
  //
})
0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago