0.0.16 • Published 7 years ago

@datagica/datanote-api-client v0.0.16

Weekly downloads
1
License
ISC
Repository
-
Last release
7 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

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago