a-webshop-client-api NuGet Package

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
List<Campaign> campaigns = await Campaign.GetAll(connection, 0, "id", "ASC");

// Dispose of the connection
connection.Dispose();.




Got any a-webshop-client-api Question?





Info

Version: 1.0.7
Author(s): A Name Not Yet Taken AB
Last Update: Monday, November 6, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/annytab/a-webshop-client-api
NuGet Url: https://www.nuget.org/packages/AnnytabWebshopClientAPI


Install
Install-Package AnnytabWebshopClientAPI
dotnet add package AnnytabWebshopClientAPI
paket add AnnytabWebshopClientAPI
AnnytabWebshopClientAPI Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1

avg-downloads-per-day

2

days-since-last-release

2357