VeeFriends.ShopifySync.EBay
5.0.49
See the version list below for details.
dotnet add package VeeFriends.ShopifySync.EBay --version 5.0.49
NuGet\Install-Package VeeFriends.ShopifySync.EBay -Version 5.0.49
<PackageReference Include="VeeFriends.ShopifySync.EBay" Version="5.0.49" />
paket add VeeFriends.ShopifySync.EBay --version 5.0.49
#r "nuget: VeeFriends.ShopifySync.EBay, 5.0.49"
// Install VeeFriends.ShopifySync.EBay as a Cake Addin #addin nuget:?package=VeeFriends.ShopifySync.EBay&version=5.0.49 // Install VeeFriends.ShopifySync.EBay as a Cake Tool #tool nuget:?package=VeeFriends.ShopifySync.EBay&version=5.0.49
VeeFriends.ShopifySync 🛍️🔁
VeeFriends.ShopifySync is a .NET library that provides a flexible and extensible framework for synchronizing data between various e-commerce platforms and Shopify. Currently, it supports integration with the WhatNot platform.
Features
- Abstract base classes for creating platform-specific implementations
- GraphQL request builder for easy query construction
- Error handling and custom exception types
- Dependency Injection support
- Asynchronous operations
Installation
Install the VeeFriends.ShopifySync NuGet package in your project:
dotnet add package VeeFriends.ShopifySync
Usage
1. Configuration
First, configure the services in your Startup.cs
or Program.cs
file:
using VeeFriends.ShopifySync.Services;
using VeeFriends.ShopifySync.WhatNot;
public void ConfigureServices(IServiceCollection services)
{
services.ShopifySync()
.AddWhatNot(options =>
{
options.ApiUrl = "https://whatnot-api-url.com";
// Add other WhatNot-specific configuration
});
}
2. Using the WhatNot Seller Platform
Inject the WhatNotSellerPlatform
into your service or controller:
public class MyService
{
private readonly WhatNotSellerPlatform _whatNotPlatform;
public MyService(WhatNotSellerPlatform whatNotPlatform)
{
_whatNotPlatform = whatNotPlatform;
}
public async Task<WhatNotProduct> GetProductAsync(string productId)
{
var requestOptions = new WhatNotRequestOptions
{
AccessToken = "your-access-token"
};
return await _whatNotPlatform.GetProduct(productId, requestOptions);
}
public async Task<WhatNotOrder> GetOrderAsync(string orderId)
{
var requestOptions = new WhatNotRequestOptions
{
AccessToken = "your-access-token"
};
return await _whatNotPlatform.GetOrder(orderId, requestOptions);
}
}
3. Error Handling
The library includes custom error handling. Errors are wrapped in an ErrorModel
and thrown as an ErrorException
:
try
{
var product = await _whatNotPlatform.GetProduct(productId, requestOptions);
}
catch (ErrorException ex)
{
Console.WriteLine($"An error occurred: {ex.Message}");
// Handle the error appropriately
}
Extending the Library
Creating a New Platform Integration
To add support for a new platform:
- Create a new class that inherits from
SellerHttpClient<TRequestOptions>
. - Implement a new
SellerPlatform<TProduct, TOrder, TRequestOptions>
for your platform. - Create platform-specific
ProductModel
andOrderModel
classes. - Add an extension method to
ShopifySyncCollection
for easy configuration.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
-
net9.0
- Microsoft.KernelMemory.AI.OpenAI (>= 0.96.250115.1)
- Microsoft.KernelMemory.Core (>= 0.96.250115.1)
- VeeFriends.ShopifySync (>= 5.0.49)
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 |
---|---|---|
5.0.70 | 77 | a month ago |
5.0.69 | 84 | a month ago |
5.0.68 | 83 | a month ago |
5.0.66 | 92 | a month ago |
5.0.65 | 95 | a month ago |
5.0.64 | 74 | 2 months ago |
5.0.63 | 81 | 2 months ago |
5.0.62 | 70 | 2 months ago |
5.0.61 | 76 | 2 months ago |
5.0.60 | 66 | 2 months ago |
5.0.59 | 72 | 2 months ago |
5.0.58 | 65 | 2 months ago |
5.0.57 | 73 | 2 months ago |
5.0.56 | 64 | 2 months ago |
5.0.55 | 68 | 2 months ago |
5.0.54 | 73 | 2 months ago |
5.0.52 | 66 | 2 months ago |
5.0.51 | 71 | 2 months ago |
5.0.49 | 81 | 2 months ago |
5.0.47 | 78 | 2 months ago |
5.0.46 | 77 | 2 months ago |
5.0.45 | 76 | 2 months ago |
5.0.44 | 76 | 2 months ago |
5.0.43 | 77 | 2 months ago |
5.0.42 | 77 | 2 months ago |
5.0.41 | 72 | 2 months ago |
5.0.40 | 70 | 2 months ago |
5.0.39 | 69 | 2 months ago |
5.0.38 | 77 | 2 months ago |
5.0.37 | 78 | 2 months ago |
5.0.36 | 81 | 2 months ago |
5.0.35 | 71 | 2 months ago |
5.0.34 | 74 | 2 months ago |
5.0.33 | 58 | 2 months ago |
5.0.32 | 59 | 2 months ago |
5.0.31 | 59 | 2 months ago |
5.0.30 | 59 | 2 months ago |
5.0.29 | 57 | 2 months ago |
5.0.28 | 79 | 2 months ago |
5.0.27 | 73 | 2 months ago |
5.0.26 | 69 | 2 months ago |
5.0.25 | 71 | 2 months ago |
5.0.23 | 82 | 2 months ago |
5.0.22 | 84 | 2 months ago |
5.0.21 | 75 | 2 months ago |
5.0.19 | 75 | 2 months ago |
5.0.18 | 74 | 2 months ago |
5.0.17 | 76 | 2 months ago |
5.0.16 | 105 | 2 months ago |
5.0.15 | 92 | 2 months ago |
5.0.14 | 92 | 2 months ago |
5.0.13 | 88 | 2 months ago |
5.0.12 | 94 | 2 months ago |
5.0.11 | 92 | 2 months ago |
5.0.10 | 90 | 2 months ago |
5.0.9 | 86 | 2 months ago |
5.0.8 | 92 | 2 months ago |
5.0.7 | 94 | 3 months ago |
5.0.6 | 91 | 3 months ago |
5.0.5 | 98 | 3 months ago |
5.0.4 | 94 | 3 months ago |
5.0.3 | 96 | 3 months ago |
5.0.2 | 90 | 3 months ago |
5.0.1 | 86 | 3 months ago |
1.0.33 | 89 | 3 months ago |
1.0.32 | 86 | 3 months ago |
1.0.31 | 89 | 3 months ago |
1.0.30 | 98 | 4 months ago |
1.0.29 | 88 | 4 months ago |
1.0.28 | 98 | 4 months ago |
1.0.27 | 92 | 4 months ago |
1.0.26 | 88 | 4 months ago |
1.0.25 | 88 | 4 months ago |
1.0.24 | 84 | 4 months ago |
1.0.23 | 84 | 4 months ago |
1.0.22 | 93 | 4 months ago |
1.0.20 | 98 | 4 months ago |
1.0.19 | 89 | 4 months ago |
1.0.18 | 95 | 4 months ago |
1.0.17 | 104 | 4 months ago |
1.0.16 | 91 | 4 months ago |
1.0.15 | 89 | 4 months ago |
1.0.14 | 95 | 4 months ago |
1.0.13 | 96 | 4 months ago |
1.0.12 | 90 | 4 months ago |
1.0.11 | 103 | 5 months ago |
1.0.10 | 120 | 5 months ago |
1.0.9 | 125 | 5 months ago |
1.0.8 | 122 | 5 months ago |
1.0.7 | 118 | 5 months ago |