πβοΈ Sankhya .NET SDK.
| Build status | Last commit | Tests | Coverage | Code Smells | LoC |
|---|---|---|---|---|---|
Download the latest .zip file from the Releases page.
| Package | Version | Downloads |
|---|---|---|
| Sankhya |
The SDK provides a comprehensive implementation of Sankhya's web services. If the service you need is not included, you can independently implement the request/response and contribute via pull requests.
- Know Services: Predefined service wrappers for common operations.
- Sankhya Wrapper: Handles low-level HTTP requests, serialization, and authentication.
- Extensibility: Add custom functionality by extending the SDK.
For details, check the Know Services Wiki.
Register the Sankhya wrapper using the CrispyWaffle toolkit's Service Locator:
var connectionSankhya = new Connection(); // Fill in your details
ServiceLocator.Register(() => new SankhyaContext(connectionSankhya), LifeStyle.Singleton);public class MyClass
{
private readonly SankhyaContext _sankhyaContext;
public MyClass(SankhyaContext sankhyaContext)
{
_sankhyaContext = sankhyaContext ?? throw new ArgumentNullException(nameof(sankhyaContext));
}
}var sankhyaContext = ServiceLocator.Resolve<SankhyaContext>();Retrieve and manage active sessions:
var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions)
{
KnowServicesRequestWrapper.KillSession(session.Id);
}If you need help, feel free to open an issue.
Contributions are welcome! Check out the CONTRIBUTING.md guide for details.
This Sankhya SDK is available in multiple programming languages:
| Language | Repository | Maintainer |
|---|---|---|
| .NET | Sankhya-SDK-dotnet | @guibranco |
| Python | Sankhya-SDK-python | @ssmvictor |
Each implementation provides language-specific features and follows the conventions of its respective ecosystem while maintaining compatibility with Sankhya's web services.
Thanks to all contributors! π
|
Guilherme Branco Stracini |
Fedor Andriyaninkov |
Pedro Henrique |
Viktorius Suwandi |
|
dependabot[bot] |
github-actions[bot] |
penify-dev[bot] |
stack-file[bot] |
gitauto-ai[bot] |
codefactor-io[bot] |
|
Snyk bot |
