benmanns / cleverbot

Deprecated/unmaintained. See https://www.cleverbot.com/api/
https://github.com/benmanns/cleverbot
MIT License
22 stars 19 forks source link
deprecated unmaintained

= cleverbot {}[http://travis-ci.org/benmanns/cleverbot]

Ruby wrapper for Cleverbot.

== Examples

=== Talk to Cleverbot with Cleverbot::Client.write

@params = Cleverbot::Client.write 'Hi.' @params['message'] # => "How are you?" @params['sessionid'] # => "ABC01234567"

@params.keep_if { |key, value| Cleverbot::Client::DEFAULT_PARAMS.keys.include? key } @params['message'] # => nil @params['sessionid'] # => "ABC01234567"

@params = Cleverbot::Client.write 'Good, you?', @params @params['message'] # => "Good." @params['sessionid'] # => "ABC01234567"

=== Talk to Cleverbot with Cleverbot::Client#write to manage parameters.

@client = Cleverbot::Client.new @client.write 'Hi.' # => "How are you?" @client.write 'Good, you?' # => "Good."

== Contributing to cleverbot

== Copyright

Copyright (c) 2011 Benjamin Manns. See LICENSE.txt for further details.