1
mirror of https://github.com/valentineus/iii-client.git synced 2025-12-21 14:13:22 +04:00

Release of version 2.1.0.

This commit is contained in:
2017-09-28 21:28:18 +04:00
parent 677996e535
commit ba42758715
3 changed files with 15 additions and 1 deletions

View File

@@ -12,10 +12,18 @@ Simple API for communicating with the bot of the \"iii.ru\" service.
- Installation and processing of sessions.
## Installation
NodeJS:
```bash
npm install --save iii-client
```
Browser:
```html
<script src="https://unpkg.com/iii-client@latest/dist/bundle.js">
/* client - This is the global name for accessing the package */
</script>
```
## Using
An example of a connection, receiving session identification and sending a bot message:
```javascript