Sankhya 3.0.637
See the version list below for details.
dotnet add package Sankhya --version 3.0.637
NuGet\Install-Package Sankhya -Version 3.0.637
<PackageReference Include="Sankhya" Version="3.0.637" />
paket add Sankhya --version 3.0.637
#r "nuget: Sankhya, 3.0.637"
// Install Sankhya as a Cake Addin #addin nuget:?package=Sankhya&version=3.0.637 // Install Sankhya as a Cake Tool #tool nuget:?package=Sankhya&version=3.0.637
Sankhya SDK
📊⚙️ Sankhya .NET SDK.
CI/CD
Build status | Last commit | Tests | Coverage | Code Smells | LoC |
---|---|---|---|---|---|
Code Quality
Installation
Github Releases
Download the latest zip file from the Release page.
Nuget package manager
Package | Version | Downloads |
---|---|---|
Sankhya |
Features
This SDK implements many of Sankhya's web services. Some of them are called Know Services. If the service you seek is not set in the SDK, you can implement the service request/response independently (and use it on your code or submit a pull request to this repository).
Some Request Wrappers allow you to make some requests easily.
Known Services
Sankhya Wrapper
The last-mile operations are done on these wrappers. This class defines all HTTP request/response, login/logout, serialization, and download/upload operations.
Avoid using this class directly from your implementation. Only call its methods if you are extending the SDK's functionality or implementing a new feature. Otherwise, prefer using one of the request wrappers or the Sankhya Context class.
Usage
Service registration (IoC / DI)
This SDK is based on CrispyWaffle toolkit, so you can use its Service Locator feature to register it.
Assuming you are using Crispy Waffle, you can register the Sankhya wrapper in the Bootstrapper.cs
file this way:
var connectionSankhya = new Connection(); //Fill in your details
ServiceLocator.Register(() => new SankhyaContext(connectionSankhya), LifeStyle.Singleton);
Later, when you need to access the Sankhya Context in your code, you can just pass it as the constructor's argument or retrieve it from Service Locator
Constructor argument
public class MyClass {
private readonly SankhyaContext _sankhyaContext;
public MyClass(SankhyaContext sankyaContext) {
_sankhyaContext = sankhyaContext ?? throw new ArgumentNullException(nameof(sankhyaContext));
}
}
Retrieving manually
var sankhyaContext = ServiceLocator.Resolve<SankhyaContext>();
Know Services Wrapper
The KnowServicesRequestWrapper
is a static class that can be used anywhere since SankhyaContext is registered through ServiceLocator.
Session management
You can use this to get all active sessions in Sankhya and kill them one by one:
var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions) {
KnowServicesRequestWrapper.KillSession(session.Id);
}
Support
Please open an issue for support.
Contributing
Refer to CONTRIBUTING.md to learn how to contribute to this project!
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/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/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> <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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. |
.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. |
-
.NETStandard 2.0
- CrispyWaffle (>= 8.1.79)
- CrispyWaffle.Configuration (>= 8.1.79)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.1
- CrispyWaffle (>= 8.1.79)
- CrispyWaffle.Configuration (>= 8.1.79)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net6.0
- CrispyWaffle (>= 8.1.79)
- CrispyWaffle.Configuration (>= 8.1.79)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net7.0
- CrispyWaffle (>= 8.1.79)
- CrispyWaffle.Configuration (>= 8.1.79)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net8.0
- CrispyWaffle (>= 8.1.79)
- CrispyWaffle.Configuration (>= 8.1.79)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
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 |
---|---|---|
3.0.926 | 121 | 11/4/2024 |
3.0.923 | 61 | 11/4/2024 |
3.0.916 | 162 | 10/28/2024 |
3.0.913 | 60 | 10/28/2024 |
3.0.910 | 65 | 10/28/2024 |
3.0.889 | 202 | 10/21/2024 |
3.0.886 | 77 | 10/21/2024 |
3.0.883 | 62 | 10/21/2024 |
3.0.878 | 69 | 10/21/2024 |
3.0.869 | 95 | 10/19/2024 |
3.0.865 | 101 | 10/18/2024 |
3.0.862 | 111 | 10/18/2024 |
3.0.856 | 99 | 10/18/2024 |
3.0.845 | 77 | 10/18/2024 |
3.0.842 | 193 | 10/14/2024 |
3.0.837 | 87 | 10/12/2024 |
3.0.822 | 68 | 10/7/2024 |
3.0.819 | 85 | 10/2/2024 |
3.0.816 | 80 | 10/2/2024 |
3.0.811 | 80 | 10/2/2024 |
3.0.808 | 77 | 10/2/2024 |
3.0.805 | 77 | 10/2/2024 |
3.0.794 | 300 | 9/23/2024 |
3.0.791 | 84 | 9/23/2024 |
3.0.786 | 74 | 9/23/2024 |
3.0.782 | 114 | 9/17/2024 |
3.0.778 | 221 | 9/16/2024 |
3.0.775 | 103 | 9/16/2024 |
3.0.768 | 173 | 9/9/2024 |
3.0.765 | 92 | 9/9/2024 |
3.0.760 | 91 | 9/9/2024 |
3.0.757 | 88 | 9/9/2024 |
3.0.748 | 212 | 9/2/2024 |
3.0.745 | 103 | 9/2/2024 |
3.0.740 | 109 | 8/28/2024 |
3.0.734 | 100 | 8/28/2024 |
3.0.731 | 90 | 8/28/2024 |
3.0.722 | 99 | 8/27/2024 |
3.0.719 | 98 | 8/27/2024 |
3.0.707 | 81 | 8/27/2024 |
3.0.702 | 104 | 8/27/2024 |
3.0.694 | 100 | 8/26/2024 |
3.0.686 | 97 | 8/26/2024 |
3.0.680 | 235 | 8/26/2024 |
3.0.672 | 89 | 8/26/2024 |
3.0.656 | 126 | 8/24/2024 |
3.0.648 | 118 | 8/24/2024 |
3.0.640 | 716 | 8/19/2024 |
3.0.637 | 104 | 8/19/2024 |
3.0.634 | 105 | 8/19/2024 |
3.0.629 | 107 | 8/19/2024 |
3.0.620 | 117 | 8/12/2024 |
3.0.617 | 105 | 8/12/2024 |
3.0.612 | 106 | 8/12/2024 |
3.0.609 | 90 | 8/5/2024 |
3.0.606 | 60 | 8/5/2024 |
3.0.601 | 115 | 7/29/2024 |
3.0.598 | 83 | 7/29/2024 |
3.0.589 | 94 | 7/22/2024 |
3.0.586 | 87 | 7/22/2024 |
3.0.567 | 139 | 7/22/2024 |
3.0.564 | 75 | 7/20/2024 |
3.0.563 | 76 | 7/20/2024 |
3.0.559 | 97 | 7/20/2024 |
3.0.549 | 84 | 7/17/2024 |
3.0.545 | 81 | 7/17/2024 |
3.0.542 | 83 | 7/17/2024 |
3.0.539 | 65 | 7/16/2024 |
3.0.535 | 104 | 7/15/2024 |
3.0.530 | 95 | 7/15/2024 |
3.0.523 | 92 | 7/15/2024 |
3.0.514 | 83 | 7/12/2024 |
3.0.511 | 78 | 7/12/2024 |
3.0.506 | 81 | 7/12/2024 |
3.0.503 | 65 | 7/12/2024 |
3.0.500 | 63 | 7/12/2024 |
3.0.477 | 94 | 7/8/2024 |
3.0.470 | 114 | 7/3/2024 |
3.0.467 | 111 | 7/1/2024 |
3.0.464 | 101 | 7/1/2024 |
3.0.459 | 126 | 6/24/2024 |
3.0.456 | 121 | 6/17/2024 |
3.0.453 | 89 | 6/17/2024 |
3.0.448 | 121 | 6/10/2024 |
3.0.445 | 94 | 6/3/2024 |
3.0.442 | 97 | 6/3/2024 |
3.0.437 | 81 | 5/27/2024 |
3.0.434 | 126 | 5/27/2024 |
3.0.429 | 100 | 5/27/2024 |
3.0.422 | 102 | 5/27/2024 |
3.0.413 | 103 | 5/27/2024 |
3.0.402 | 121 | 5/20/2024 |
3.0.399 | 109 | 5/19/2024 |
3.0.393 | 84 | 5/13/2024 |
3.0.390 | 141 | 5/6/2024 |
3.0.387 | 112 | 4/30/2024 |
3.0.384 | 105 | 4/30/2024 |
3.0.380 | 117 | 4/30/2024 |
3.0.373 | 125 | 4/30/2024 |
3.0.364 | 116 | 4/30/2024 |
3.0.361 | 115 | 4/29/2024 |
3.0.348 | 107 | 4/22/2024 |
3.0.345 | 95 | 4/22/2024 |
3.0.340 | 134 | 4/22/2024 |
3.0.337 | 109 | 4/22/2024 |
3.0.328 | 130 | 4/15/2024 |
3.0.325 | 112 | 4/15/2024 |
3.0.320 | 93 | 4/15/2024 |
3.0.313 | 105 | 4/15/2024 |
3.0.304 | 138 | 4/8/2024 |
3.0.301 | 107 | 4/8/2024 |
3.0.296 | 105 | 4/8/2024 |
3.0.289 | 135 | 4/1/2024 |
3.0.286 | 106 | 4/1/2024 |
3.0.281 | 151 | 3/25/2024 |
3.0.278 | 109 | 3/25/2024 |
3.0.273 | 134 | 3/18/2024 |
3.0.270 | 128 | 3/18/2024 |
3.0.265 | 112 | 3/11/2024 |
3.0.262 | 120 | 3/11/2024 |
3.0.257 | 148 | 3/4/2024 |
3.0.254 | 113 | 2/26/2024 |
3.0.251 | 155 | 2/26/2024 |
3.0.246 | 111 | 2/26/2024 |
3.0.239 | 106 | 2/19/2024 |
3.0.236 | 103 | 2/19/2024 |
3.0.231 | 105 | 2/19/2024 |
3.0.224 | 108 | 2/19/2024 |
3.0.215 | 118 | 2/14/2024 |
3.0.210 | 126 | 2/12/2024 |
3.0.207 | 137 | 2/12/2024 |
3.0.204 | 119 | 2/12/2024 |
3.0.197 | 137 | 2/7/2024 |
3.0.188 | 114 | 2/6/2024 |
3.0.184 | 118 | 2/5/2024 |
3.0.178 | 114 | 1/30/2024 |
3.0.175 | 109 | 1/30/2024 |
3.0.170 | 101 | 1/29/2024 |
3.0.163 | 106 | 1/29/2024 |
3.0.156 | 121 | 1/29/2024 |
3.0.142 | 111 | 1/24/2024 |
3.0.139 | 104 | 1/24/2024 |
3.0.136 | 107 | 1/23/2024 |
3.0.129 | 104 | 1/23/2024 |
3.0.124 | 102 | 1/23/2024 |
3.0.117 | 113 | 1/22/2024 |
3.0.114 | 108 | 1/22/2024 |
3.0.107 | 137 | 1/22/2024 |
3.0.102 | 106 | 1/22/2024 |
3.0.97 | 107 | 1/22/2024 |
3.0.86 | 124 | 1/16/2024 |
3.0.83 | 118 | 1/16/2024 |
3.0.71 | 126 | 1/15/2024 |
3.0.62 | 128 | 1/8/2024 |
3.0.59 | 174 | 1/1/2024 |
3.0.56 | 137 | 12/25/2023 |
3.0.53 | 137 | 12/25/2023 |
3.0.48 | 129 | 12/25/2023 |
3.0.41 | 110 | 12/25/2023 |
3.0.32 | 1,021 | 12/18/2023 |
3.0.5 | 143 | 12/17/2023 |
2.0.773 | 128 | 12/14/2023 |
2.0.767 | 147 | 12/11/2023 |
2.0.764 | 121 | 12/11/2023 |
2.0.759 | 141 | 12/11/2023 |
2.0.752 | 158 | 12/11/2023 |
2.0.743 | 109 | 12/11/2023 |
2.0.732 | 140 | 12/11/2023 |
2.0.729 | 138 | 12/6/2023 |
2.0.724 | 168 | 12/4/2023 |
2.0.721 | 118 | 12/4/2023 |
2.0.716 | 122 | 12/4/2023 |
2.0.709 | 131 | 12/4/2023 |
2.0.698 | 113 | 11/27/2023 |
2.0.695 | 106 | 11/27/2023 |
2.0.690 | 1,003 | 11/21/2023 |
2.0.686 | 126 | 11/21/2023 |
2.0.681 | 118 | 11/20/2023 |
2.0.674 | 132 | 11/20/2023 |
2.0.665 | 220 | 11/14/2023 |
2.0.658 | 131 | 11/14/2023 |
2.0.653 | 113 | 11/14/2023 |
2.0.650 | 127 | 11/14/2023 |
2.0.643 | 127 | 11/14/2023 |
2.0.636 | 112 | 11/14/2023 |
2.0.623 | 97 | 11/13/2023 |
2.0.614 | 156 | 11/9/2023 |
2.0.606 | 131 | 11/6/2023 |
2.0.601 | 188 | 10/30/2023 |
2.0.598 | 120 | 10/30/2023 |
2.0.595 | 133 | 10/30/2023 |
2.0.590 | 140 | 10/26/2023 |
2.0.586 | 147 | 10/23/2023 |
2.0.583 | 131 | 10/23/2023 |
2.0.578 | 167 | 10/17/2023 |
2.0.575 | 151 | 10/17/2023 |
2.0.570 | 135 | 10/17/2023 |
2.0.563 | 140 | 10/16/2023 |
2.0.554 | 104 | 10/16/2023 |
2.0.543 | 152 | 10/16/2023 |
2.0.530 | 139 | 10/10/2023 |
2.0.526 | 122 | 10/10/2023 |
2.0.519 | 165 | 10/8/2023 |
2.0.512 | 104 | 10/8/2023 |
2.0.495 | 143 | 10/8/2023 |
2.0.486 | 149 | 10/8/2023 |
2.0.450 | 145 | 10/2/2023 |
2.0.447 | 150 | 10/2/2023 |
2.0.442 | 174 | 9/25/2023 |
2.0.439 | 146 | 9/25/2023 |
2.0.434 | 129 | 9/23/2023 |
2.0.431 | 108 | 9/19/2023 |
2.0.428 | 113 | 9/19/2023 |
2.0.419 | 179 | 9/16/2023 |
2.0.416 | 171 | 9/13/2023 |
2.0.413 | 139 | 9/12/2023 |
2.0.408 | 150 | 9/12/2023 |
2.0.401 | 126 | 9/12/2023 |
2.0.392 | 155 | 9/6/2023 |
2.0.387 | 282 | 9/4/2023 |
2.0.384 | 241 | 8/28/2023 |
2.0.381 | 152 | 8/28/2023 |
2.0.376 | 213 | 8/24/2023 |
2.0.373 | 383 | 8/14/2023 |
2.0.344 | 244 | 8/9/2023 |
2.0.337 | 177 | 8/9/2023 |
2.0.332 | 177 | 8/9/2023 |
2.0.325 | 359 | 7/29/2023 |
2.0.322 | 181 | 7/29/2023 |
2.0.315 | 128 | 7/29/2023 |
2.0.311 | 245 | 7/24/2023 |
2.0.308 | 174 | 7/24/2023 |
2.0.302 | 222 | 7/17/2023 |
2.0.299 | 148 | 7/17/2023 |
2.0.284 | 182 | 7/12/2023 |
2.0.272 | 271 | 7/10/2023 |
2.0.265 | 194 | 7/10/2023 |
2.0.256 | 271 | 7/3/2023 |
2.0.253 | 176 | 7/3/2023 |
2.0.248 | 186 | 7/3/2023 |
2.0.241 | 333 | 6/19/2023 |
2.0.238 | 172 | 6/19/2023 |
2.0.233 | 337 | 6/15/2023 |
2.0.230 | 217 | 6/15/2023 |
2.0.225 | 216 | 6/15/2023 |
2.0.218 | 266 | 6/6/2023 |
2.0.215 | 250 | 6/5/2023 |
2.0.210 | 158 | 6/5/2023 |
2.0.203 | 183 | 6/5/2023 |
2.0.191 | 476 | 5/22/2023 |
2.0.188 | 187 | 5/22/2023 |
2.0.183 | 279 | 5/15/2023 |
2.0.180 | 232 | 5/15/2023 |
2.0.175 | 299 | 5/8/2023 |
2.0.168 | 166 | 5/8/2023 |
2.0.163 | 419 | 5/4/2023 |
2.0.160 | 200 | 5/3/2023 |
2.0.155 | 431 | 4/10/2023 |
2.0.152 | 214 | 4/10/2023 |
2.0.147 | 226 | 4/9/2023 |
2.0.141 | 217 | 4/4/2023 |
2.0.136 | 373 | 4/3/2023 |
2.0.133 | 254 | 4/3/2023 |
2.0.128 | 330 | 3/27/2023 |
2.0.125 | 228 | 3/27/2023 |
2.0.122 | 287 | 3/27/2023 |
2.0.119 | 229 | 3/27/2023 |
2.0.111 | 265 | 3/26/2023 |
2.0.108 | 293 | 3/22/2023 |
2.0.103 | 271 | 3/21/2023 |
2.0.98 | 246 | 3/21/2023 |
2.0.91 | 352 | 3/5/2023 |
2.0.86 | 263 | 3/5/2023 |
2.0.82 | 269 | 3/5/2023 |
2.0.76 | 269 | 3/3/2023 |
2.0.75 | 264 | 3/3/2023 |
2.0.65 | 297 | 2/28/2023 |
2.0.62 | 321 | 1/30/2023 |
2.0.59 | 416 | 1/23/2023 |
2.0.56 | 298 | 1/23/2023 |
2.0.53 | 303 | 1/19/2023 |
2.0.52 | 320 | 1/17/2023 |
2.0.51 | 586 | 1/16/2023 |
2.0.50 | 342 | 1/16/2023 |
2.0.47 | 320 | 1/16/2023 |
2.0.40 | 318 | 1/16/2023 |
2.0.35 | 310 | 1/16/2023 |
2.0.29 | 306 | 1/16/2023 |
2.0.26 | 322 | 1/16/2023 |
2.0.20 | 353 | 1/16/2023 |
1.0.2 | 1,519 | 9/22/2019 |