Skip to content

husaft/wit-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wit-dotnet

wit-dotnet is the .NET SDK for Wit.ai.

Install

From source:

git clone https://github.com/husaft/wit-dotnet
dotnet build

Usage

See the examples folder for examples.

API

Wit class

The Wit constructor takes the following parameters:

  • accessToken - the access token of your Wit instance

A minimal example looks like this:

using Wit;

var client = new WitClient(accessToken);
client.GetMeaning("set an alarm tomorrow at 7am");

Logging

You can also specify a custom logger object in the Wit constructor:

using Wit;
var client = new WitClient(accessToken, customLogger);

See the Extensions Logging module docs for more information.

License

The license for this project can be found in LICENSE file in the root directory of this source tree.

Releases

No releases published

Packages

No packages published

Languages