Akinator.Api.Net
Akinator API written for .NET
Install / Use
/learn @janniksam/Akinator.Api.NetREADME
Akinator Api for .NET
This is an improved async version of the Akinator Api, written for .NET Standard 1.4 and .NET 2.0
- Inspired by: https://github.com/davidsl4/AkiNet (not working anymore)
- Ported from: https://github.com/jgoralcz/aki-api/ (NodeJS implementation)
Languages
As of April 2020, 16 languages are supported by the Api-Client:
- Arabic
- Chinese
- Dutch
- English
- French
- German
- Indonesian
- Israeli
- Italian
- Japanese
- Korean
- Polski
- Portuguese
- Russian
- Spanish
- Turkish
Further more there are five different server types to choose from. Not every language does support every server type:
- Person
- Animal
- Object
- Movie
- Place
Other languages and server-types will be added, as soon as Akinator is starting to support them.
Basic usage
// We will search for a german person server to play on.
var serverLocator = new AkinatorServerLocator();
var server = await serverLocator.SearchAsync(Language.German, ServerType.Person);
using (var client = new AkinatorClient(server))
{
// Start a new game
var question = await client.StartNewGame();
// Process question...
// ...
// Answer the previous question with "Yes" and get the next one
var question = await client.Answer(AnswerOptions.Yes);
// if Akinator is due to guess...
if (client.GuessIsDue())
{
// Get Akinators guess..
var guess = await client.GetGuess();
// Verify the guess ...
}
}
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
