2.0.8 • Published 3 years ago

entulib v2.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

entulib

npm version

Library for authenticated access to Entu database API.

Service RequestDescriptionHTTP Method
Get EntityFetch Entity by IDGET
Find EntityDescriptionGET
Get ChildsDescriptionGET
Get RelationshipsDescriptionGET
Edit EntityDescriptionPUT
Add EntityDescriptionPOST
PollDescriptionGET

Authentication of application is done with

  • API key
    • that is stored in Entu
      • and is attached to entity
        • that identifies the application

Usage

$ npm install entulib --save, then var entu = require('entulib')

Methods to please your application

All methods return a promise

  • getEntity(id, entuOptions)
  • getEntities(definition, limit, page, entuOptions)
  • getChilds(parentEid, definition, entuOptions)
  • getRelationships(parentEid, definition, entuOptions)
  • edit(params, entuOptions)
  • add(parentEid, definition, properties, entuOptions)
  • pollUpdates(entuOptions)
  • pollParents(id, entuOptions)

EntuOptions

entuOptions = {
  entuUrl: entuUrl,
  user: user,
  key: key
}
2.0.7

3 years ago

2.0.8

3 years ago

2.0.6

5 years ago

2.0.5

6 years ago

2.0.4

7 years ago

2.0.3

8 years ago

1.0.1

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago