AmperApiClient.NET
1.1.22
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AmperApiClient.NET --version 1.1.22
NuGet\Install-Package AmperApiClient.NET -Version 1.1.22
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="AmperApiClient.NET" Version="1.1.22" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AmperApiClient.NET --version 1.1.22
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AmperApiClient.NET, 1.1.22"
#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 AmperApiClient.NET as a Cake Addin #addin nuget:?package=AmperApiClient.NET&version=1.1.22 // Install AmperApiClient.NET as a Cake Tool #tool nuget:?package=AmperApiClient.NET&version=1.1.22
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AmperApiClient.NET
Nuget Package for communicating with Amplifier API.
Requirements
.net core version 5
Install
You can add this package to your project by using:
Package Manager Console in Visual Studio
Install-Package AmperApiClient.NET
.NET CLI
dotnet add package AmperApiClient.NET
add it directly to your .csproj file
<ItemGroup> <PackageReference Include="AmperApiClient.NET" Version="1.1.15" /> </ItemGroup>
Getting Started
Example Project
using Amplifier;
You need to configure Sentry before any usage. First add package
dotnet add package Sentry
init Sentry connection before any other Amplifier object initiation
Amplifier.Sentry.SentryDsn = "https://xxxxxxxxxxxxxxxxxxx@xxxxxxx.ingest.sentry.io/xxxxxxxx";
- Create
AmplifierJWTAuth
object with your username and password and url (url of your endpoint)
AmplifierJWTAuth amplifierJWTAuth = new AmplifierJWTAuth(USERNAME, PASSWORD, URL);
- use it's
getToken()
method to authenticate and get your JWT Token
b2BWSConfig.JWTToken = await amplifierJWTAuth.getToken();
- add AMPER WS URL
b2BWSConfig.b2BWSUrl = "https://example-amper-b2b-ws.com"
- create an import class where you can:
- fetch data you want to send
- map it to Amplifier classes (
Product
,Settlement
...) - use
Backend
methods to send it
- when creating
Backend
passWSConfig
with your JWTToken and B2BWSUrl you wish to communicate with
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- Newtonsoft.Json (>= 12.0.3)
- Sentry (>= 3.12.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.123 | 43 | 11/27/2024 |
1.1.122 | 37 | 11/27/2024 |
1.1.121 | 70 | 11/26/2024 |
1.1.120 | 83 | 11/15/2024 |
1.1.119 | 93 | 10/31/2024 |
1.1.118 | 97 | 10/23/2024 |
1.1.117 | 82 | 10/10/2024 |
1.1.116 | 111 | 9/13/2024 |
1.1.115 | 105 | 9/9/2024 |
1.1.114 | 100 | 9/9/2024 |
1.1.113 | 109 | 9/3/2024 |
1.1.112 | 108 | 6/27/2024 |
1.1.111 | 110 | 6/25/2024 |
1.1.110 | 103 | 6/25/2024 |
1.1.109 | 111 | 5/29/2024 |
1.1.108 | 76 | 5/14/2024 |
1.1.107 | 136 | 3/26/2024 |
1.1.106 | 117 | 3/26/2024 |
1.1.105 | 141 | 3/21/2024 |
1.1.104 | 126 | 3/14/2024 |
1.1.103 | 127 | 3/13/2024 |
1.1.102 | 126 | 2/28/2024 |
1.1.101 | 128 | 2/26/2024 |
1.1.100 | 137 | 2/22/2024 |
1.1.99 | 139 | 2/21/2024 |
1.1.98 | 133 | 2/15/2024 |
1.1.97 | 130 | 2/14/2024 |
1.1.96 | 116 | 2/14/2024 |
1.1.95 | 128 | 2/7/2024 |
1.1.94 | 139 | 1/19/2024 |
1.1.93 | 116 | 1/19/2024 |
1.1.88 | 150 | 1/2/2024 |
1.1.87 | 190 | 12/4/2023 |
1.1.86 | 120 | 12/4/2023 |
1.1.85 | 123 | 12/4/2023 |
1.1.84 | 149 | 11/15/2023 |
1.1.83 | 142 | 11/9/2023 |
1.1.82 | 149 | 11/4/2023 |
1.1.81 | 161 | 10/12/2023 |
1.1.80 | 151 | 10/9/2023 |
1.1.79 | 136 | 10/6/2023 |
1.1.78 | 123 | 10/5/2023 |
1.1.77 | 150 | 9/22/2023 |
1.1.76 | 155 | 9/20/2023 |
1.1.75 | 128 | 9/20/2023 |
1.1.74 | 131 | 9/20/2023 |
1.1.73 | 144 | 9/19/2023 |
1.1.72 | 142 | 9/18/2023 |
1.1.71 | 159 | 9/12/2023 |
1.1.70 | 144 | 9/12/2023 |
1.1.69 | 128 | 9/12/2023 |
1.1.68 | 158 | 9/11/2023 |
1.1.67 | 158 | 9/6/2023 |
1.1.66 | 121 | 9/6/2023 |
1.1.65 | 143 | 9/4/2023 |
1.1.64 | 155 | 8/29/2023 |
1.1.63 | 157 | 8/8/2023 |
1.1.62 | 134 | 8/8/2023 |
1.1.61 | 174 | 7/13/2023 |
1.1.60 | 179 | 7/6/2023 |
1.1.59 | 165 | 6/28/2023 |
1.1.58 | 167 | 6/28/2023 |
1.1.57 | 164 | 6/27/2023 |
1.1.56 | 173 | 6/27/2023 |
1.1.55 | 184 | 6/23/2023 |
1.1.54 | 159 | 6/23/2023 |
1.1.53 | 172 | 6/23/2023 |
1.1.52 | 169 | 6/23/2023 |
1.1.51 | 194 | 6/22/2023 |
1.1.50 | 189 | 6/6/2023 |
1.1.49 | 176 | 5/9/2023 |
1.1.48 | 169 | 5/8/2023 |
1.1.47 | 212 | 4/30/2023 |
1.1.46 | 231 | 3/28/2023 |
1.1.45 | 226 | 3/27/2023 |
1.1.44 | 227 | 3/22/2023 |
1.1.43 | 234 | 3/21/2023 |
1.1.42 | 287 | 2/14/2023 |
1.1.41 | 295 | 2/12/2023 |
1.1.40 | 282 | 2/12/2023 |
1.1.39 | 288 | 2/8/2023 |
1.1.38 | 282 | 2/8/2023 |
1.1.37 | 301 | 1/20/2023 |
1.1.36 | 326 | 1/11/2023 |
1.1.35 | 336 | 12/14/2022 |
1.1.34 | 319 | 12/13/2022 |
1.1.33 | 354 | 11/29/2022 |
1.1.32 | 368 | 11/29/2022 |
1.1.31 | 344 | 11/29/2022 |
1.1.30 | 342 | 11/29/2022 |
1.1.29 | 343 | 11/28/2022 |
1.1.28 | 383 | 11/1/2022 |
1.1.27 | 411 | 10/12/2022 |
1.1.26 | 440 | 9/9/2022 |
1.1.25 | 437 | 9/6/2022 |
1.1.24 | 442 | 9/1/2022 |
1.1.23 | 454 | 8/12/2022 |
1.1.22 | 449 | 8/12/2022 |
1.1.21 | 433 | 8/12/2022 |
1.1.20 | 419 | 8/12/2022 |
1.1.19 | 431 | 8/4/2022 |
1.1.18 | 449 | 6/30/2022 |
1.1.17 | 470 | 6/21/2022 |
1.1.16 | 452 | 6/15/2022 |
1.1.15 | 454 | 6/15/2022 |
1.1.14 | 474 | 5/25/2022 |
1.1.13 | 466 | 5/24/2022 |
1.1.12 | 469 | 5/22/2022 |
1.1.11 | 451 | 5/22/2022 |
1.1.10 | 494 | 4/30/2022 |
1.1.9 | 475 | 4/7/2022 |
1.1.8 | 456 | 4/4/2022 |
1.1.7 | 479 | 4/2/2022 |
1.1.6 | 466 | 4/2/2022 |
1.1.5 | 496 | 2/14/2022 |
1.1.4 | 466 | 2/14/2022 |
1.1.3 | 331 | 1/2/2022 |
1.1.2 | 332 | 1/2/2022 |
1.1.1 | 316 | 1/2/2022 |
1.1.0 | 336 | 12/19/2021 |
1.0.2 | 380 | 8/2/2021 |
1.0.1 | 439 | 2/24/2021 |