https://github.com/grokify/motion-ai-ruby
Simple Ruby SDK for Motion AI (https://motion.ai) visual chatbot builder
https://github.com/grokify/motion-ai-ruby
artificial-intelligence chatbot ruby sdk
Last synced: 3 months ago
JSON representation
Simple Ruby SDK for Motion AI (https://motion.ai) visual chatbot builder
- Host: GitHub
- URL: https://github.com/grokify/motion-ai-ruby
- Owner: grokify
- License: mit
- Created: 2017-03-13T09:15:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T11:36:14.000Z (over 8 years ago)
- Last Synced: 2024-10-12T00:48:50.038Z (9 months ago)
- Topics: artificial-intelligence, chatbot, ruby, sdk
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
Motion AI Ruby SDK
==================[![Gem Version][gem-version-svg]][gem-version-link]
[![Dependency Status][dependency-status-svg]][dependency-status-link]
[![Codacy Badge][codacy-svg]][codacy-link]
[![Downloads][downloads-svg]][downloads-link]
[![Docs][docs-rubydoc-svg]][docs-rubydoc-link]
[![License][license-svg]][license-link]Simple SDK for [Motion AI](https://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
```ruby
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](http://docs.motion.ai/docs/api).## Links
Project Repo
* https://github.com/grokify/motion-ai-ruby
Motion AI Docs
* http://docs.motion.ai/docs/api
[gem-version-svg]: https://badge.fury.io/rb/motion-ai.svg
[gem-version-link]: http://badge.fury.io/rb/motion-ai
[downloads-svg]: http://ruby-gem-downloads-badge.herokuapp.com/motion-ai
[downloads-link]: https://rubygems.org/gems/motion-ai
[dependency-status-svg]: https://gemnasium.com/grokify/motion-ai-ruby.svg
[dependency-status-link]: https://gemnasium.com/grokify/motion-ai-ruby
[codacy-svg]: https://api.codacy.com/project/badge/Grade/1e014a7f38734145bff06ce0ed2af829
[codacy-link]: https://www.codacy.com/app/grokify/motion-ai-ruby
[docs-rubydoc-svg]: https://img.shields.io/badge/docs-rubydoc-blue.svg
[docs-rubydoc-link]: http://www.rubydoc.info/gems/motion-ai/
[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
[license-link]: https://github.com/grokify/motion-ai-ruby/blob/master/LICENSE.md