webex

Version, currently master branch1 version
  • master branchlatestMay 3, 2022

github.com/place-labs/webex

a webex client for building webex bots

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  webex:
    github: place-labs/webex
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared

Dependencies

Development Dependencies

  • ameba*github: veelenga/amebadev

README

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