Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanMelnychenko committed Jan 28, 2021
0 parents commit 6584cae
Show file tree
Hide file tree
Showing 4 changed files with 522 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# bx24-api
This library loading script `https://api.bitrix24.com/api/v1/` and instead of callback use Promise.

# Use

```javascript
import BX24 from 'bx24-api'

BX24.init().then(() => {
console.log('init')
BX24.callMethod()
})
```

And you can use all function from [Documentation](https://dev.1c-bitrix.ru/rest_help/js_library/index.php)

P.S: At the beginning of each function, the `BX24.init()` function is executed, except `BX.install()`.
Loading

0 comments on commit 6584cae

Please sign in to comment.