Project

karotz

0.01
No commit activity in last 3 years
No release in over 3 years
ruby bindings for karotz rest api
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
= 1.11.3

Runtime

~> 0.3
~> 0.9
 Project Readme

Info¶ ↑

Status: Build: Dependencies:

This gem is still in early development.

Docs¶ ↑

Supported methods:

  • ears

  • led

  • tts (text to speech)

  • multimedia

  • asr (automated speach recognition)

  • webcam

  • config

Have a look at the whole api: dev.karotz.com/api

Read the HOW-TO: www.dzone.com/links/karotz_ruby_love.html

Installation¶ ↑

gem install karotz

via Bundler:

# Gemfile
gem "karotz"

bundle install

Examples¶ ↑

require 'karotz'
Karotz::Configuration.configure do |config|
  config.install_id = ENV['KAROTZ_INSTALL_ID']
  config.api_key    = ENV['KAROTZ_API_KEY']
  config.secret     = ENV['KAROTZ_SECRET']
  config.proxy      = ENV['KAROTZ_PROXY']
end

# bare
interactive_id = Karotz::Client.start
Karotz::Client.ears interactive_id
[...]
Karotz::Client.stop(interactive_id)

# using a session
Karotz::Client.session do |karotz|
  karotz.ears
  [...]
end

# using a client
karotz = Karotz::Client.create
karotz.ears
[...]
karotz.stop

Changes¶ ↑

See CHANGELOG file.

License¶ ↑

“THE BEER-WARE LICENSE” (Revision 42): ps@nofail.de wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Peter Schröder