Sankhya 5.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sankhya --version 5.0.8                
NuGet\Install-Package Sankhya -Version 5.0.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sankhya" Version="5.0.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sankhya --version 5.0.8                
#r "nuget: Sankhya, 5.0.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sankhya as a Cake Addin
#addin nuget:?package=Sankhya&version=5.0.8

// Install Sankhya as a Cake Tool
#tool nuget:?package=Sankhya&version=5.0.8                

Sankhya SDK

📊⚙️ Sankhya .NET SDK.

GitHub license Time tracker

Sankhya logo

CI/CD

Build status Last commit Tests Coverage Code Smells LoC
Build status GitHub last commit AppVeyor tests (branch) Coverage Code Smells Lines of Code

Code Quality

Codacy Badge Codacy Badge

codecov CodeFactor

Maintainability Test Coverage

Quality Gate Status Maintainability Rating

Technical Debt Duplicated Lines (%)

Reliability Rating Security Rating

Bugs Vulnerabilities


Installation

Github Releases

GitHub last release Github All Releases

Download the latest .zip file from the Releases page.

Nuget package manager

Package Version Downloads
Sankhya Sankhya NuGet Version Sankhya NuGet Downloads

Features

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.

Key Highlights

  • 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.


Usage

Dependency Injection (IoC)

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);
Constructor Injection
public class MyClass
{
    private readonly SankhyaContext _sankhyaContext;

    public MyClass(SankhyaContext sankhyaContext)
    {
        _sankhyaContext = sankhyaContext ?? throw new ArgumentNullException(nameof(sankhyaContext));
    }
}
Manual Resolution
var sankhyaContext = ServiceLocator.Resolve<SankhyaContext>();

Session Management

Retrieve and manage active sessions:

var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions)
{
    KnowServicesRequestWrapper.KillSession(session.Id);
}

Support

If you need help, feel free to open an issue.


Contributing

Contributions are welcome! Check out the CONTRIBUTING.md guide for details.


Contributors

Thanks to all contributors! 💙

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/guibranco"> <img src="https://avatars.githubusercontent.com/u/3362854?v=4" width="100;" alt="guibranco"/> <br /> <sub><b>Guilherme Branco Stracini</b></sub> </a> </td> <td align="center"> <a href="https://github.com/fandriyaninkov"> <img src="https://avatars.githubusercontent.com/u/18394528?v=4" width="100;" alt="fandriyaninkov"/> <br /> <sub><b>Fedor Andriyaninkov</b></sub> </a> </td> <td align="center"> <a href="https://github.com/pedrowindisch"> <img src="https://avatars.githubusercontent.com/u/30203228?v=4" width="100;" alt="pedrowindisch"/> <br /> <sub><b>Pedro Henrique</b></sub> </a> </td> <td align="center"> <a href="https://github.com/viktoriussuwandi"> <img src="https://avatars.githubusercontent.com/u/68414300?v=4" width="100;" alt="viktoriussuwandi"/> <br /> <sub><b>Viktorius Suwandi</b></sub> </a> </td> </tr> <tbody> </table>

Bots

<table> <tbody> <tr> <td align="center"> <a href="https://github.com/dependabot[bot]"> <img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100;" alt="dependabot[bot]"/> <br /> <sub><b>dependabot[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/github-actions[bot]"> <img src="https://avatars.githubusercontent.com/in/15368?v=4" width="100;" alt="github-actions[bot]"/> <br /> <sub><b>github-actions[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/penify-dev[bot]"> <img src="https://avatars.githubusercontent.com/in/399279?v=4" width="100;" alt="penify-dev[bot]"/> <br /> <sub><b>penify-dev[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/stack-file[bot]"> <img src="https://avatars.githubusercontent.com/in/408123?v=4" width="100;" alt="stack-file[bot]"/> <br /> <sub><b>stack-file[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/gitauto-ai[bot]"> <img src="https://avatars.githubusercontent.com/in/844909?v=4" width="100;" alt="gitauto-ai[bot]"/> <br /> <sub><b>gitauto-ai[bot]</b></sub> </a> </td> <td align="center"> <a href="https://github.com/codefactor-io[bot]"> <img src="https://avatars.githubusercontent.com/in/25603?v=4" width="100;" alt="codefactor-io[bot]"/> <br /> <sub><b>codefactor-io[bot]</b></sub> </a> </td> </tr> <tr> <td align="center"> <a href="https://github.com/snyk-bot"> <img src="https://avatars.githubusercontent.com/u/19733683?v=4" width="100;" alt="snyk-bot"/> <br /> <sub><b>Snyk bot</b></sub> </a> </td> </tr> <tbody> </table>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sankhya:

Package Downloads
EditoraInovacao.Sankhya.Entities

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.38 61 3 days ago
5.0.35 60 3 days ago
5.0.32 61 3 days ago
5.0.28 126 3 days ago
5.0.19 66 3 days ago
5.0.8 67 3 days ago
4.1.106 142 10 days ago
4.1.103 78 10 days ago
4.1.98 67 10 days ago
4.1.91 79 10 days ago
4.1.84 83 16 days ago
4.1.80 75 17 days ago
4.1.77 81 17 days ago
4.1.65 141 17 days ago
4.1.57 81 17 days ago
4.1.52 81 20 days ago
4.1.47 84 20 days ago
4.0.34 79 20 days ago
4.0.25 85 20 days ago
4.0.15 80 20 days ago
4.0.8 88 20 days ago
3.1.134 79 20 days ago
3.1.126 218 24 days ago
3.1.123 80 24 days ago
3.1.118 74 24 days ago
3.1.108 219 a month ago
3.1.103 81 a month ago
3.1.98 146 a month ago
3.1.95 84 a month ago
3.1.92 72 a month ago
3.1.83 270 a month ago
3.1.80 87 a month ago
3.1.75 82 a month ago
3.1.66 89 a month ago
3.1.61 273 2 months ago
3.1.58 83 2 months ago
3.1.53 93 2 months ago
3.1.42 87 2 months ago
3.1.37 219 2 months ago
3.1.32 81 2 months ago
3.1.16 86 2 months ago
3.0.969 103 2 months ago
3.0.950 88 2 months ago
3.0.947 97 2 months ago
3.0.938 256 2 months ago
3.0.926 229 2 months ago
3.0.923 84 2 months ago
3.0.916 184 3 months ago
3.0.913 82 3 months ago
3.0.910 83 3 months ago
3.0.889 220 3 months ago
3.0.886 95 3 months ago
3.0.883 80 3 months ago
3.0.878 87 3 months ago
3.0.869 113 3 months ago
3.0.865 118 3 months ago
3.0.862 126 3 months ago
3.0.856 114 3 months ago
3.0.845 96 3 months ago
3.0.842 213 3 months ago
3.0.837 105 3 months ago
3.0.822 84 3 months ago
3.0.819 104 3 months ago
3.0.816 96 3 months ago
3.0.811 98 3 months ago
3.0.808 94 3 months ago
3.0.805 100 3 months ago
3.0.794 317 4 months ago
3.0.791 97 4 months ago
3.0.786 89 4 months ago
3.0.782 128 4 months ago
3.0.778 235 4 months ago
3.0.775 115 4 months ago
3.0.768 188 4 months ago
3.0.765 106 4 months ago
3.0.760 107 4 months ago
3.0.757 100 4 months ago
3.0.748 225 4 months ago
3.0.745 116 4 months ago
3.0.740 122 5 months ago
3.0.734 113 5 months ago
3.0.731 103 5 months ago
3.0.722 113 5 months ago
3.0.719 111 5 months ago
3.0.707 92 5 months ago
3.0.702 117 5 months ago
3.0.694 112 5 months ago
3.0.686 108 5 months ago
3.0.680 246 5 months ago
3.0.672 100 5 months ago
3.0.656 137 5 months ago
3.0.648 133 5 months ago
3.0.640 731 5 months ago
3.0.637 119 5 months ago
3.0.634 118 5 months ago
3.0.629 118 5 months ago
3.0.620 133 5 months ago
3.0.617 119 5 months ago
3.0.612 118 5 months ago
3.0.609 105 5 months ago
3.0.606 73 5 months ago
3.0.601 127 6 months ago
3.0.598 97 6 months ago
3.0.589 108 6 months ago
3.0.586 102 6 months ago
3.0.567 152 6 months ago
3.0.564 87 6 months ago
3.0.563 94 6 months ago
3.0.559 113 6 months ago
3.0.549 98 6 months ago
3.0.545 96 6 months ago
3.0.542 99 6 months ago
3.0.539 79 6 months ago
3.0.535 115 6 months ago
3.0.530 108 6 months ago
3.0.523 105 6 months ago
3.0.514 96 6 months ago
3.0.511 91 6 months ago
3.0.506 94 6 months ago
3.0.503 78 6 months ago
3.0.500 78 6 months ago
3.0.477 106 6 months ago
3.0.470 128 6 months ago
3.0.467 126 7 months ago
3.0.464 114 7 months ago
3.0.459 142 7 months ago
3.0.456 137 7 months ago
3.0.453 102 7 months ago
3.0.448 134 7 months ago
3.0.445 106 7 months ago
3.0.442 108 7 months ago
3.0.437 93 8 months ago
3.0.434 142 8 months ago
3.0.429 116 8 months ago
3.0.422 113 8 months ago
3.0.413 114 8 months ago
3.0.402 137 8 months ago
3.0.399 124 8 months ago
3.0.393 99 8 months ago
3.0.390 152 8 months ago
3.0.387 121 9 months ago
3.0.384 118 9 months ago
3.0.380 131 9 months ago
3.0.373 135 9 months ago
3.0.364 130 9 months ago
3.0.361 134 9 months ago
3.0.348 121 9 months ago
3.0.345 106 9 months ago
3.0.340 146 9 months ago
3.0.337 122 9 months ago
3.0.328 142 9 months ago
3.0.325 124 9 months ago
3.0.320 105 9 months ago
3.0.313 119 9 months ago
3.0.304 151 9 months ago
3.0.301 118 9 months ago
3.0.296 119 9 months ago
3.0.289 146 10 months ago
3.0.286 118 10 months ago
3.0.281 161 10 months ago
3.0.278 122 10 months ago
3.0.273 146 10 months ago
3.0.270 141 10 months ago
3.0.265 134 3/11/2024
3.0.262 132 3/11/2024
3.0.257 159 3/4/2024
3.0.254 125 2/26/2024
3.0.251 165 2/26/2024
3.0.246 121 2/26/2024
3.0.239 116 2/19/2024
3.0.236 116 2/19/2024
3.0.231 115 2/19/2024
3.0.224 123 2/19/2024
3.0.215 132 2/14/2024
3.0.210 137 2/12/2024
3.0.207 151 2/12/2024
3.0.204 133 2/12/2024
3.0.197 147 2/7/2024
3.0.188 128 2/6/2024
3.0.184 130 2/5/2024
3.0.178 126 1/30/2024
3.0.175 121 1/30/2024
3.0.170 111 1/29/2024
3.0.163 116 1/29/2024
3.0.156 132 1/29/2024
3.0.142 122 1/24/2024
3.0.139 114 1/24/2024
3.0.136 117 1/23/2024
3.0.129 116 1/23/2024
3.0.124 114 1/23/2024
3.0.117 127 1/22/2024
3.0.114 122 1/22/2024
3.0.107 150 1/22/2024
3.0.102 116 1/22/2024
3.0.97 119 1/22/2024
3.0.86 134 1/16/2024
3.0.83 130 1/16/2024
3.0.71 136 1/15/2024
3.0.62 138 1/8/2024
3.0.59 186 1/1/2024
3.0.56 148 12/25/2023
3.0.53 147 12/25/2023
3.0.48 140 12/25/2023
3.0.41 120 12/25/2023
3.0.32 1,110 12/18/2023
3.0.5 154 12/17/2023
2.0.773 138 12/14/2023
2.0.767 160 12/11/2023
2.0.764 133 12/11/2023
2.0.759 154 12/11/2023
2.0.752 171 12/11/2023
2.0.743 122 12/11/2023
2.0.732 151 12/11/2023
2.0.729 151 12/6/2023
2.0.724 182 12/4/2023
2.0.721 129 12/4/2023
2.0.716 136 12/4/2023
2.0.709 144 12/4/2023
2.0.698 126 11/27/2023
2.0.695 119 11/27/2023
2.0.690 1,096 11/21/2023
2.0.686 139 11/21/2023
2.0.681 132 11/20/2023
2.0.674 144 11/20/2023
2.0.665 234 11/14/2023
2.0.658 144 11/14/2023
2.0.653 131 11/14/2023
2.0.650 143 11/14/2023
2.0.643 140 11/14/2023
2.0.636 123 11/14/2023
2.0.623 110 11/13/2023
2.0.614 168 11/9/2023
2.0.606 144 11/6/2023
2.0.601 200 10/30/2023
2.0.598 131 10/30/2023
2.0.595 144 10/30/2023
2.0.590 153 10/26/2023
2.0.586 161 10/23/2023
2.0.583 143 10/23/2023
2.0.578 179 10/17/2023
2.0.575 164 10/17/2023
2.0.570 153 10/17/2023
2.0.563 153 10/16/2023
2.0.554 117 10/16/2023
2.0.543 165 10/16/2023
2.0.530 152 10/10/2023
2.0.526 135 10/10/2023
2.0.519 178 10/8/2023
2.0.512 115 10/8/2023
2.0.495 155 10/8/2023
2.0.486 162 10/8/2023
2.0.450 156 10/2/2023
2.0.447 163 10/2/2023
2.0.442 185 9/25/2023
2.0.439 159 9/25/2023
2.0.434 142 9/23/2023
2.0.431 121 9/19/2023
2.0.428 126 9/19/2023
2.0.419 192 9/16/2023
2.0.416 184 9/13/2023
2.0.413 150 9/12/2023
2.0.408 165 9/12/2023
2.0.401 137 9/12/2023
2.0.392 168 9/6/2023
2.0.387 317 9/4/2023
2.0.384 252 8/28/2023
2.0.381 165 8/28/2023
2.0.376 224 8/24/2023
2.0.373 396 8/14/2023
2.0.344 255 8/9/2023
2.0.337 188 8/9/2023
2.0.332 188 8/9/2023
2.0.325 373 7/29/2023
2.0.322 192 7/29/2023
2.0.315 139 7/29/2023
2.0.311 256 7/24/2023
2.0.308 185 7/24/2023
2.0.302 235 7/17/2023
2.0.299 159 7/17/2023
2.0.284 197 7/12/2023
2.0.272 282 7/10/2023
2.0.265 207 7/10/2023
2.0.256 282 7/3/2023
2.0.253 189 7/3/2023
2.0.248 197 7/3/2023
2.0.241 344 6/19/2023
2.0.238 183 6/19/2023
2.0.233 348 6/15/2023
2.0.230 228 6/15/2023
2.0.225 229 6/15/2023
2.0.218 279 6/6/2023
2.0.215 261 6/5/2023
2.0.210 169 6/5/2023
2.0.203 194 6/5/2023
2.0.191 487 5/22/2023
2.0.188 199 5/22/2023
2.0.183 291 5/15/2023
2.0.180 246 5/15/2023
2.0.175 310 5/8/2023
2.0.168 179 5/8/2023
2.0.163 430 5/4/2023
2.0.160 211 5/3/2023
2.0.155 442 4/10/2023
2.0.152 225 4/10/2023
2.0.147 237 4/9/2023
2.0.141 228 4/4/2023
2.0.136 384 4/3/2023
2.0.133 265 4/3/2023
2.0.128 342 3/27/2023
2.0.125 240 3/27/2023
2.0.122 299 3/27/2023
2.0.119 241 3/27/2023
2.0.111 277 3/26/2023
2.0.108 303 3/22/2023
2.0.103 281 3/21/2023
2.0.98 256 3/21/2023
2.0.91 363 3/5/2023
2.0.86 273 3/5/2023
2.0.82 279 3/5/2023
2.0.76 279 3/3/2023
2.0.75 276 3/3/2023
2.0.65 308 2/28/2023
2.0.62 334 1/30/2023
2.0.59 427 1/23/2023
2.0.56 309 1/23/2023
2.0.53 314 1/19/2023
2.0.52 331 1/17/2023
2.0.51 597 1/16/2023
2.0.50 353 1/16/2023
2.0.47 331 1/16/2023
2.0.40 329 1/16/2023
2.0.35 321 1/16/2023
2.0.29 316 1/16/2023
2.0.26 333 1/16/2023
2.0.20 363 1/16/2023
1.0.2 1,533 9/22/2019

Chore