VeeFriends.ShopifySync.WhatNot
5.0.73
dotnet add package VeeFriends.ShopifySync.WhatNot --version 5.0.73
NuGet\Install-Package VeeFriends.ShopifySync.WhatNot -Version 5.0.73
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" Version="5.0.73" />
<PackageVersion Include="VeeFriends.ShopifySync.WhatNot" Version="5.0.73" />
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" />
paket add VeeFriends.ShopifySync.WhatNot --version 5.0.73
#r "nuget: VeeFriends.ShopifySync.WhatNot, 5.0.73"
#:package VeeFriends.ShopifySync.WhatNot@5.0.73
#addin nuget:?package=VeeFriends.ShopifySync.WhatNot&version=5.0.73
#tool nuget:?package=VeeFriends.ShopifySync.WhatNot&version=5.0.73
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
- VeeFriends.ShopifySync (>= 5.0.73)
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.73 | 36,255 | 5/19/2025 |
| 5.0.72 | 202 | 5/19/2025 |
| 5.0.71 | 3,296 | 3/18/2025 |
| 5.0.70 | 4,919 | 2/6/2025 |
| 5.0.69 | 203 | 2/6/2025 |
| 5.0.68 | 265 | 2/5/2025 |
| 5.0.66 | 165 | 2/5/2025 |
| 5.0.65 | 553 | 1/30/2025 |
| 5.0.64 | 1,347 | 1/18/2025 |
| 5.0.63 | 137 | 1/17/2025 |
| 5.0.62 | 180 | 1/17/2025 |
| 5.0.61 | 142 | 1/17/2025 |
| 5.0.60 | 129 | 1/17/2025 |
| 5.0.59 | 124 | 1/17/2025 |
| 5.0.58 | 161 | 1/17/2025 |
| 5.0.57 | 148 | 1/17/2025 |
| 5.0.56 | 179 | 1/17/2025 |
| 5.0.55 | 174 | 1/17/2025 |
| 5.0.54 | 173 | 1/17/2025 |
| 5.0.52 | 160 | 1/17/2025 |
| 5.0.51 | 175 | 1/16/2025 |
| 5.0.49 | 208 | 1/16/2025 |
| 5.0.47 | 130 | 1/16/2025 |
| 5.0.46 | 208 | 1/16/2025 |
| 5.0.45 | 188 | 1/16/2025 |
| 5.0.44 | 169 | 1/16/2025 |
| 5.0.43 | 195 | 1/16/2025 |
| 5.0.42 | 140 | 1/15/2025 |
| 5.0.41 | 124 | 1/15/2025 |
| 5.0.40 | 192 | 1/15/2025 |
| 5.0.39 | 199 | 1/15/2025 |
| 5.0.38 | 178 | 1/15/2025 |
| 5.0.37 | 200 | 1/15/2025 |
| 5.0.36 | 212 | 1/15/2025 |
| 5.0.35 | 156 | 1/15/2025 |
| 5.0.34 | 155 | 1/15/2025 |
| 5.0.33 | 262 | 1/14/2025 |
| 5.0.32 | 130 | 1/14/2025 |
| 5.0.31 | 134 | 1/14/2025 |
| 5.0.30 | 131 | 1/14/2025 |
| 5.0.29 | 134 | 1/14/2025 |
| 5.0.28 | 142 | 1/14/2025 |
| 5.0.27 | 118 | 1/13/2025 |
| 5.0.26 | 157 | 1/13/2025 |
| 5.0.25 | 275 | 1/13/2025 |
| 5.0.23 | 162 | 1/10/2025 |
| 5.0.22 | 146 | 1/10/2025 |
| 5.0.21 | 136 | 1/10/2025 |
| 5.0.19 | 177 | 1/9/2025 |
| 5.0.18 | 165 | 1/9/2025 |
| 5.0.17 | 255 | 1/9/2025 |
| 5.0.16 | 577 | 1/3/2025 |
| 5.0.15 | 156 | 1/2/2025 |
| 5.0.14 | 149 | 1/2/2025 |
| 5.0.13 | 168 | 1/2/2025 |
| 5.0.12 | 268 | 12/23/2024 |
| 5.0.11 | 151 | 12/23/2024 |
| 5.0.10 | 159 | 12/23/2024 |
| 5.0.9 | 153 | 12/23/2024 |
| 5.0.8 | 171 | 12/23/2024 |
| 5.0.7 | 416 | 12/13/2024 |
| 5.0.6 | 164 | 12/13/2024 |
| 5.0.5 | 186 | 12/12/2024 |
| 5.0.4 | 171 | 12/12/2024 |
| 5.0.3 | 146 | 12/12/2024 |
| 5.0.2 | 154 | 12/12/2024 |
| 5.0.1 | 1,424 | 12/11/2024 |
| 1.0.33 | 144 | 12/11/2024 |
| 1.0.32 | 164 | 12/11/2024 |
| 1.0.31 | 167 | 12/11/2024 |
| 1.0.30 | 4,259 | 11/12/2024 |
| 1.0.29 | 170 | 11/12/2024 |
| 1.0.28 | 2,441 | 11/1/2024 |
| 1.0.27 | 795 | 11/1/2024 |
| 1.0.26 | 156 | 10/31/2024 |
| 1.0.25 | 154 | 10/31/2024 |
| 1.0.24 | 454 | 10/30/2024 |
| 1.0.23 | 272 | 10/30/2024 |
| 1.0.22 | 256 | 10/30/2024 |
| 1.0.20 | 408 | 10/29/2024 |
| 1.0.19 | 269 | 10/29/2024 |
| 1.0.18 | 242 | 10/28/2024 |
| 1.0.17 | 173 | 10/28/2024 |
| 1.0.16 | 156 | 10/28/2024 |
| 1.0.15 | 188 | 10/28/2024 |
| 1.0.14 | 147 | 10/28/2024 |
| 1.0.13 | 160 | 10/25/2024 |
| 1.0.12 | 185 | 10/24/2024 |
| 1.0.11 | 152 | 10/19/2024 |
| 1.0.10 | 196 | 10/18/2024 |
| 1.0.9 | 210 | 10/18/2024 |
| 1.0.8 | 182 | 10/18/2024 |
| 1.0.7 | 214 | 10/18/2024 |