Motion AI Ruby SDK

Gem Version Dependency Status Codacy Badge Downloads Docs License

Simple SDK for Motion AI REST API.

API endpoints:

Endpoint Supported?
GET /messageBot yes
POST /messsageHuman tbd
GET /getConversations yes
POST Webhooks tbd

Installation

$ gem install motion-ai

Usage

require 'motion-ai'

client = MotionAI::Client.new 'my_api_key', 'my_bot_id'

res = client.message_bot msg: 'Hello Bot!', session: '12345'

res = client.get_conversations

For more information on the parameters that can be passed to the API, see the Motion AI API docs.

Project Repo

Motion AI Docs