Skip to content

proofofexistence/api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof of Existence API Client

npm version

Usage

npm i @proofofexistence/api-client

Import using ES6

import proofx from "@proofofexistence/api-client"

See the ./examples folder for more.

import { getStatus } from "@proofofexistence/api-client"

let status = getStatus(hash)
  .then( response => 
    console.log(response.data)
  )
  .catch( error => 
    console.log(error)
  )

Please refer to the complete API docs for more details.

Development

npm install
npm start

You can run the examples with npm start and browse to http://localhost:8080/examples/

Build

npm run build

Test

npm test

Build the docs

npm run docs

About

API client for Proof of Existence

Resources

Stars

Watchers

Forks

Packages

No packages published