CentraSharp 0.3.0
See the version list below for details.
dotnet add package CentraSharp --version 0.3.0
NuGet\Install-Package CentraSharp -Version 0.3.0
<PackageReference Include="CentraSharp" Version="0.3.0" />
paket add CentraSharp --version 0.3.0
#r "nuget: CentraSharp, 0.3.0"
// Install CentraSharp as a Cake Addin #addin nuget:?package=CentraSharp&version=0.3.0 // Install CentraSharp as a Cake Tool #tool nuget:?package=CentraSharp&version=0.3.0
PrimePenguin.CentraSharp: A .NET library for CentraWeb.
PrimePenguin.CentraSharp is a .NET library that enables you to authenticate and make API calls to Starweb. It's great for building custom Centra Apps using C# and .NET. You can quickly and easily get up and running with CentraWeb using this library.
Installation
Install-Package PrimePenguin.CentraSharp
If you're using .NET Core, you can use the dotnet
command from your favorite shell:
dotnet add package PrimePenguin.CentraSharp
Using PrimePenguin.CentraSharp
Note: All instances of shopAccessToken
in the examples below do not refer to your Centra API key.
An access token is the token returned after authenticating and authorizing a Centra app installation with a
real CentraWeb store.
Steps to get access token for centra
Open System settings for you centra store By logging into your store
<div align="center"> <img href="#" src="https://raw.githubusercontent.com/PrimePenguin/PrimePenguin.CentraSharp/master/Images/SystemSettings.PNG?s=50&v=4"> </div>
Open your store to access the token
<div align="center"> <img href="#" src="https://raw.githubusercontent.com/PrimePenguin/PrimePenguin.CentraSharp/master/Images/OpenStore.PNG"> </div>
Open your store settings to access shop token and order token
<div align="center"> <img href="#" src="https://raw.githubusercontent.com/PrimePenguin/PrimePenguin.CentraSharp/master/Images/StoreSettings.PNG"> </div>
Copy your store uri and use access token for respective type
<div align="center"> <img href="#" src="https://raw.githubusercontent.com/PrimePenguin/PrimePenguin.CentraSharp/master/Images/Copysecret.PNG"> </div>
Note: myCentraWebUrl will be like store url-->https://PrimePenguin.com + /api/+ URI for the API type this will be different for Order and Shop So Kindly use respective token and Uri as per your store settings Final myCentraWebUrl will be likw : https://PrimePenguin.com/api/shop
var service = new ProductService(myCentraWebUrl, shopAccessToken);
APIS Token Use-Shop API Token (Obsolete)
- CategoryService
- BrandService
- CampaignService
APIS Token Use-Order API Token
- ProductService
- OrderService
- ReturnService
- ShipmentService
- SupplierDeliveryService
- SupplierOrderService
- CustomerService
APIS Implemented
- Customer
- Order
- Product
- Shop
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.4 is compatible. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.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 | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- microsoft.extensions.primitives (>= 1.1.0)
- newtonsoft.json (>= 10.0.1)
- System.ComponentModel.Annotations (>= 4.5.0)
-
.NETStandard 1.4
- microsoft.extensions.primitives (>= 1.1.0)
- NETStandard.Library (>= 1.6.1)
- newtonsoft.json (>= 10.0.1)
- System.ComponentModel.Annotations (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.