node-tepez

0.3.0 • Public • Published

node-tepez

Node.js wrapper for the Tepez HTTP API

Work in progress. Not ready for clients use.

npm version Known Vulnerabilities

Usage

const Tepez = require('node-tepez');


const tepez = new Tepez({
    email: '< EMAIL >',
    password: '< PASSWORD >'
});

Authentication

Both email and password can be given when constructor the client instance as email and password respectively. If either option is not given, the TEPEZ_EMAIL and TEPEZ_PASSWORD environment variables will be used, if present. If neither is given, an exception will be thrown when creating the client instance.

Debug

Set the DEBUG environment variable to tepez:api to get each request and response made by the client printed to the console.

Supported methods

Form

  • getForm
  • listForms

Entry

  • getEntry
  • listEntries
  • saveNewEntry
  • submitEntry
  • editEntry

Options set

  • optionsSetDeleteOptions
  • optionsSetAddOptions

Docs

  • docsSetAddDocs

Readme

Keywords

none

Package Sidebar

Install

npm i node-tepez

Weekly Downloads

2

Version

0.3.0

License

MIT

Last publish

Collaborators