0.7.2 • Published 3 years ago

leia-api-sdk v0.7.2

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
3 years ago

LEIA API SDK for Node.js npm version

LEIA API allows you to use a wide range of Deep Learning tools to inject intelligence into your projects.

Getting started

npm install leia-api-sdk

  • Get an API key

  • Read the documentation

  • Create a LeiaAPI object and authenticate to use the API

const leiaAPI = new LeiaAPI()
leiaAPI.login('apiKey').then((application) => {
    console.log("you", application)
})
...
leiaAPI.addDocument('test.jpg', image.buffer).then((document) => {
   documentId = document.id
   return leiaAPI.addModel('my model', model.buffer)
}).then((model) => {
   return leiaAPI.applyModelToDocument(model.id, [documentId])
}).then((job) => {
   ...
   // Poll job for result
   leiaAPI.getJob(job.id).then((job) => {
      console.log(job.result)
   })
   ...
})

You can also read the LEIA API documentation on leia.io.

Licence

Apache 2.0

0.7.2

3 years ago

0.7.1

3 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.6

4 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.9

6 years ago

0.3.8

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago