Coder Social home page Coder Social logo

ringcentral-glip-errbot's Introduction

Errbot Glip Adapter

ringcentral-glip-errbot is an server backend adapter for Errbot that allows you to use the robot with Glip.

Installation

$ make install

Configuration

Create config.py with the following info:

BACKEND = 'Glip'

BOT_EXTRA_BACKEND_DIR = '/path_to/ringcentral-glip-errbot/src'

BOT_IDENTITY = {
    'username': '+11122233344',
    'extension': '',
    'password': 'FooBarBaz',
    'appKey': 'YourAppKey',
    'appSecret': 'YourAppSecret',
    'server': 'https://platform.ringcentral.com'
}

Usage

$ make errbot

ringcentral-glip-errbot's People

Contributors

kirill-konshin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ringcentral-glip-errbot's Issues

ModuleNotFoundError: No module named 'ringcentral.core'

When running errbot, the ModuleNotFoundError: No module named 'ringcentral.core' error is encountered because ringcentral-python 0.7.5 is missing the core folder (ringcentral-python #8).

To resolve this, retrieve the package from Github and save into the local virtualenv directory. Use the following steps for Python 3.6.1.

$ git clone https://github.com/ringcentral/ringcentral-glip-errbot/
$ cd ringcentral-glip-errbot
$ vi config.py
$ ./install.sh
$ curl https://codeload.github.com/ringcentral/ringcentral-python/zip/master > master.zip
$ unzip -q master.zip 'ringcentral-python-master/ringcentral/*'
$ cp -R ringcentral-python-master/ringcentral/* .ve/lib/python3.6/site-packages/ringcentral
$ ./.ve/bin/errbot

For config.py be sure to include the other errbot requirements. A minimal version is below which includes the default config.py with the RingCentral adapter parameters:

import logging

# This is a minimal configuration to get you started with the Text mode.
# If you want to connect Errbot to chat services, checkout
# the options in the more complete config-template.py from here:
# https://raw.githubusercontent.com/errbotio/errbot/master/errbot/config-template.py

BACKEND = 'Glip'  # Errbot will start in text mode (console only mode) and will answer commands from there.

BOT_DATA_DIR = r'/path_to/ringcentral-glip-errbot/data'
BOT_EXTRA_PLUGIN_DIR = '/path_to/ringcentral-glip-errbot/plugins'
BOT_EXTRA_BACKEND_DIR = '/path_to/ringcentral-glip-errbot/src'

BOT_LOG_FILE = r'/path_to/ingcentral-glip-errbot/errbot.log'
BOT_LOG_LEVEL = logging.DEBUG

BOT_ADMINS = ('CHANGE ME', )  # !! Don't leave that to "CHANGE ME" if you connect your errbot to a chat system !!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.