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.
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
// Dispose of the connection
DependenciesThis package has 2 dependencies.
dotnet add package AnnytabWebshopClientAPI
paket add AnnytabWebshopClientAPI