CentraSharp 0.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CentraSharp --version 0.3.0
NuGet\Install-Package CentraSharp -Version 0.3.0
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="CentraSharp" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CentraSharp --version 0.3.0
#r "nuget: CentraSharp, 0.3.0"
#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 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.

NuGet Build status license

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

API Reference

APIS Implemented

  • Customer
  • Order
  • Product
  • Shop
Product 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.5.0 129 4/3/2024
0.4.6 1,265 11/8/2022
0.4.5 621 6/3/2022
0.4.4 382 6/3/2022
0.4.3 384 6/2/2022
0.4.2 377 6/1/2022
0.4.1 379 5/20/2022
0.3.3 1,353 1/6/2020
0.3.2 1,021 9/19/2019
0.3.1 465 9/4/2019
0.3.0 688 7/1/2019