VeeFriends.ShopifySync
5.0.65
See the version list below for details.
dotnet add package VeeFriends.ShopifySync --version 5.0.65
NuGet\Install-Package VeeFriends.ShopifySync -Version 5.0.65
<PackageReference Include="VeeFriends.ShopifySync" Version="5.0.65" />
<PackageVersion Include="VeeFriends.ShopifySync" Version="5.0.65" />
<PackageReference Include="VeeFriends.ShopifySync" />
paket add VeeFriends.ShopifySync --version 5.0.65
#r "nuget: VeeFriends.ShopifySync, 5.0.65"
#:package VeeFriends.ShopifySync@5.0.65
#addin nuget:?package=VeeFriends.ShopifySync&version=5.0.65
#tool nuget:?package=VeeFriends.ShopifySync&version=5.0.65
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
ProductModelandOrderModelclasses. - Add an extension method to
ShopifySyncCollectionfor 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Microsoft.Extensions.Caching.Abstractions (>= 9.0.1)
- Microsoft.Extensions.Caching.Hybrid (>= 9.1.0-preview.1.25064.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.1)
- Microsoft.Extensions.Http (>= 9.0.1)
- Microsoft.Extensions.Options (>= 9.0.1)
- Microsoft.KernelMemory.AI.OpenAI (>= 0.96.250115.1)
- Microsoft.KernelMemory.Core (>= 0.96.250115.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on VeeFriends.ShopifySync:
| Package | Downloads |
|---|---|
|
VeeFriends.ShopifySync.WhatNot
Data as it pertains to VeeFriends. |
|
|
VeeFriends.ShopifySync.TikTok
Data as it pertains to VeeFriends. |
|
|
VeeFriends.ShopifySync.FanaticsLive
Data as it pertains to VeeFriends. |
|
|
VeeFriends.ShopifySync.EBay
Data as it pertains to VeeFriends. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.89 | 1,602 | 2026/8/7 |
| 5.0.81 | 7,355 | 2026/4/14 |
| 5.0.79 | 1,179 | 2026/3/27 |
| 5.0.78 | 181 | 2026/3/26 |
| 5.0.76 | 1,208 | 2026/3/21 |
| 5.0.73 | 43,205 | 2025/5/19 |
| 5.0.72 | 303 | 2025/5/19 |
| 5.0.71 | 3,416 | 2025/3/18 |
| 5.0.70 | 4,973 | 2025/2/6 |
| 5.0.69 | 277 | 2025/2/6 |
| 5.0.68 | 317 | 2025/2/5 |
| 5.0.66 | 236 | 2025/2/5 |
| 5.0.65 | 618 | 2025/1/30 |
| 5.0.64 | 1,392 | 2025/1/18 |
| 5.0.63 | 183 | 2025/1/17 |
| 5.0.62 | 234 | 2025/1/17 |
| 5.0.61 | 180 | 2025/1/17 |
| 5.0.60 | 189 | 2025/1/17 |
| 5.0.59 | 186 | 2025/1/17 |
| 5.0.58 | 216 | 2025/1/17 |