AnnytabWebshopClientAPI 1.0.0
See the version list below for details.
dotnet add package AnnytabWebshopClientAPI --version 1.0.0
NuGet\Install-Package AnnytabWebshopClientAPI -Version 1.0.0
<PackageReference Include="AnnytabWebshopClientAPI" Version="1.0.0" />
paket add AnnytabWebshopClientAPI --version 1.0.0
#r "nuget: AnnytabWebshopClientAPI, 1.0.0"
// Install AnnytabWebshopClientAPI as a Cake Addin #addin nuget:?package=AnnytabWebshopClientAPI&version=1.0.0 // Install AnnytabWebshopClientAPI as a Cake Tool #tool nuget:?package=AnnytabWebshopClientAPI&version=1.0.0
A client API in ASP.NET and C# that can be used to interact with a-webshop. You can use this client API to create applications in ASP.NET that interacts with a-webshop. The documentation for the API is under development, more information will come later.
A quick start guide
Create an administrator in a-webshop with a API role, there is three different roles (API Full Trust, API Medium Trust, API Minimal Trust).
The namespace for the API is Annytab.WebshopClientAPI. You need to create a ClientConnection before you call methods in the API. All the methods is async so need to specify the await keyword before the method call.
// Create the connection
ClientConnection connection = new ClientConnection("https://localhost:44301", "TestAPI", "test");
// Get posts
List<Campaign> campaigns = await Campaign.GetAll(connection, 0, "id", "ASC");
// Dispose of the connection
connection.Dispose();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.WebApi.Client (>= 5.2.0)
- Microsoft.Net.Http (>= 2.2.22)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.