@bowbridge/vtiger-js
TypeScript icon, indicating that this package has built-in type declarations

1.36.0 • Public • Published

vtiger-js

Javascript client for vtiger.com Rest API.

Installation

npm i @bowbridge/vtiger-js axios

 or

yarn add @bowbridge/vtiger-js axios

Peer Dependencies

This package uses axios as a http client. Please make sure that you have already installed it.

TypeScript

First class Typescript Support

Example

import { createClient } from '@bowbridge/vtiger-js';

const vtiger = createClient(url, username, password);

vtiger
  .from<Account>('Accounts')
  .select(['accountname', 'accountstatus'])
  .where('id', '=', '3x16554')
  .get()
  .then(res => {
    res.data.result.forEach(acc => {
      console.log(acc.accountname);
    });
  });

Package Sidebar

Install

npm i @bowbridge/vtiger-js

Weekly Downloads

9

Version

1.36.0

License

MIT

Unpacked Size

550 kB

Total Files

122

Last publish

Collaborators

  • joergschneidersimon
  • karthiknmariappan
  • petro-bowbridge