webex

a webex client for building webex bots

Cisco Webex Client for Crystal Lang

You can use this as the basis for building a Webex Bot

Installation

Add the dependency to your shard.yml:

  dependencies:
    webex:
      github: place-labs/webex

Obtaining a bot access token

You'll need a developers account at cisco and then do the following:

  1. ...
  2. ...

Usage

Configure the client:


require "webex"

Cisco::Webex::Client.new(...)

Webex sends message metadata as they come in. You can subscribe to them by doing the following:


If you are interested in the message you can request the message contents by doing:


Then you can respond to a message:


Developer references

Repository

webex

Owner
Statistic
  • 0
  • 1
  • 0
  • 0
  • 0
  • over 2 years ago
  • May 3, 2022
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 02:49:23 GMT

Languages