Skip to content

bitrix24-libraryJavaScript REST API Bitrix24

Promise-wrapper and a set of new methods

Install

sh
npm i bitrix24-library@latest

Use

js
import { Bitrix24 } from 'bitrix24-library';

Bitrix24().then((BX24) => {
  console.log(BX24.getDomain());

  const RestCall = BX24.createBatch();
  RestCall.batch({
    info: ['app.info'],
    profile: ['profile'],
  }).then(console.info);
});