Motion AI Ruby SDK
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. 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.
Links
Project Repo
Motion AI Docs