Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

CleverbotLib

About

CleverbotLib is a simple .NET library that is capable of interfacing with the Cleverbot API in an elegant and easy to use fashion. All information provided in the API responses are available to the programmer, and cleverbot state is easily maintained between messages.

Implementing

Below is a basic ConsoleApplication implementation of CleverbotLib taken directly from the provided example applicaiton.

TwitchClient

Console.WriteLine("CleverbotLib Example Application");

Console.WriteLine("Insert your API key:");
CleverbotLib.Core.SetAPIKey(Console.ReadLine());

Console.WriteLine("Now begin your conversation!");

CleverbotLib.Models.CleverbotResponse resp = null;
while (true)
{
	Console.Write("You: ");
	if (resp == null)
		resp = CleverbotLib.Core.Talk(Console.ReadLine());
	else
		resp = CleverbotLib.Core.Talk(Console.ReadLine(), resp);
	Console.WriteLine($"Cleverbot: {resp.Output}");
}

Installation

NuGet

To install this library via NuGet via NuGet console, use:

Install-Package CleverbotLib

and via Package Manager, simply search:

CleverbotLib

You are also more than welcome to clone/fork this repo and build the library yourself!

Dependencies

License

This project is available under the MIT license. See the LICENSE file for more info.

About

Simple .NET library to interface with the Cleverbot API.

Topics

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.