Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.
/ CleverbotIO.Net Public archive

.NET Core wrapper around the Cleverbot.IO API

Notifications You must be signed in to change notification settings

kraxarn/CleverbotIO.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CleverbotIO.Net

A simple way to use the Cleverbot.io API with .NET Core!

This project uses cleverbot.io

It's also heavily based off Cleverbot.Net, just updated for .NET Core

Some simple code to get you started:

using System;
using Cleverbot.Net;

class Program
{
    static void Main()
    {
        var session = CleverbotSession.NewSession("apiUser", "apiKey");
        Console.Write("You: ");
        message = Console.ReadLine();
        Console.WriteLine($"Bot: {session.Send(message)}");
    }
}

It also supports asynchronous requests by adding ASync to the end

var session  = await CleverbotSession.NewSessionAsync("apiUser", "apiKey");
var response = await session.SendAsync("Hello.");

About

.NET Core wrapper around the Cleverbot.IO API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages