VeeFriends.ShopifySync.WhatNot
5.1.5
dotnet add package VeeFriends.ShopifySync.WhatNot --version 5.1.5
NuGet\Install-Package VeeFriends.ShopifySync.WhatNot -Version 5.1.5
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" Version="5.1.5" />
<PackageVersion Include="VeeFriends.ShopifySync.WhatNot" Version="5.1.5" />
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" />
paket add VeeFriends.ShopifySync.WhatNot --version 5.1.5
#r "nuget: VeeFriends.ShopifySync.WhatNot, 5.1.5"
#:package VeeFriends.ShopifySync.WhatNot@5.1.5
#addin nuget:?package=VeeFriends.ShopifySync.WhatNot&version=5.1.5
#tool nuget:?package=VeeFriends.ShopifySync.WhatNot&version=5.1.5
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.1.5)
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.1.5 | 182 | 10/24/2026 |
| 5.0.89 | 1,819 | 8/7/2026 |
| 5.0.81 | 7,309 | 4/14/2026 |
| 5.0.79 | 957 | 3/27/2026 |
| 5.0.78 | 128 | 3/26/2026 |
| 5.0.76 | 1,175 | 3/21/2026 |
| 5.0.73 | 43,140 | 5/19/2025 |
| 5.0.72 | 274 | 5/19/2025 |
| 5.0.71 | 3,365 | 3/18/2025 |
| 5.0.70 | 4,988 | 2/6/2025 |
| 5.0.69 | 269 | 2/6/2025 |
| 5.0.68 | 332 | 2/5/2025 |
| 5.0.66 | 229 | 2/5/2025 |
| 5.0.65 | 617 | 1/30/2025 |
| 5.0.64 | 1,403 | 1/18/2025 |
| 5.0.63 | 204 | 1/17/2025 |
| 5.0.62 | 249 | 1/17/2025 |
| 5.0.61 | 195 | 1/17/2025 |
| 5.0.60 | 196 | 1/17/2025 |
| 5.0.59 | 196 | 1/17/2025 |