VeeFriends.ShopifySync.WhatNot
1.0.31
See the version list below for details.
dotnet add package VeeFriends.ShopifySync.WhatNot --version 1.0.31
NuGet\Install-Package VeeFriends.ShopifySync.WhatNot -Version 1.0.31
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" Version="1.0.31" />
<PackageVersion Include="VeeFriends.ShopifySync.WhatNot" Version="1.0.31" />
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" />
paket add VeeFriends.ShopifySync.WhatNot --version 1.0.31
#r "nuget: VeeFriends.ShopifySync.WhatNot, 1.0.31"
#addin nuget:?package=VeeFriends.ShopifySync.WhatNot&version=1.0.31
#tool nuget:?package=VeeFriends.ShopifySync.WhatNot&version=1.0.31
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. 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.KernelMemory.AI.OpenAI (>= 0.94.241201.1)
- Microsoft.KernelMemory.Core (>= 0.94.241201.1)
- VeeFriends.ShopifySync (>= 1.0.31)
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 | 1,116 | 5/19/2025 |
5.0.72 | 126 | 5/19/2025 |
5.0.71 | 3,247 | 3/18/2025 |
5.0.70 | 4,860 | 2/6/2025 |
5.0.69 | 148 | 2/6/2025 |
5.0.68 | 208 | 2/5/2025 |
5.0.66 | 125 | 2/5/2025 |
5.0.65 | 492 | 1/30/2025 |
5.0.64 | 1,286 | 1/18/2025 |
5.0.63 | 80 | 1/17/2025 |
5.0.62 | 132 | 1/17/2025 |
5.0.61 | 78 | 1/17/2025 |
5.0.60 | 75 | 1/17/2025 |
5.0.59 | 76 | 1/17/2025 |
5.0.58 | 101 | 1/17/2025 |
5.0.57 | 74 | 1/17/2025 |
5.0.56 | 107 | 1/17/2025 |
5.0.55 | 101 | 1/17/2025 |
5.0.54 | 116 | 1/17/2025 |
5.0.52 | 77 | 1/17/2025 |
5.0.51 | 107 | 1/16/2025 |
5.0.49 | 139 | 1/16/2025 |
5.0.47 | 81 | 1/16/2025 |
5.0.46 | 132 | 1/16/2025 |
5.0.45 | 103 | 1/16/2025 |
5.0.44 | 129 | 1/16/2025 |
5.0.43 | 109 | 1/16/2025 |
5.0.42 | 84 | 1/15/2025 |
5.0.41 | 81 | 1/15/2025 |
5.0.40 | 106 | 1/15/2025 |
5.0.39 | 132 | 1/15/2025 |
5.0.38 | 128 | 1/15/2025 |
5.0.37 | 139 | 1/15/2025 |
5.0.36 | 159 | 1/15/2025 |
5.0.35 | 79 | 1/15/2025 |
5.0.34 | 103 | 1/15/2025 |
5.0.33 | 194 | 1/14/2025 |
5.0.32 | 74 | 1/14/2025 |
5.0.31 | 67 | 1/14/2025 |
5.0.30 | 76 | 1/14/2025 |
5.0.29 | 74 | 1/14/2025 |
5.0.28 | 83 | 1/14/2025 |
5.0.27 | 82 | 1/13/2025 |
5.0.26 | 76 | 1/13/2025 |
5.0.25 | 193 | 1/13/2025 |
5.0.23 | 88 | 1/10/2025 |
5.0.22 | 89 | 1/10/2025 |
5.0.21 | 90 | 1/10/2025 |
5.0.19 | 85 | 1/9/2025 |
5.0.18 | 81 | 1/9/2025 |
5.0.17 | 186 | 1/9/2025 |
5.0.16 | 497 | 1/3/2025 |
5.0.15 | 99 | 1/2/2025 |
5.0.14 | 102 | 1/2/2025 |
5.0.13 | 99 | 1/2/2025 |
5.0.12 | 204 | 12/23/2024 |
5.0.11 | 87 | 12/23/2024 |
5.0.10 | 92 | 12/23/2024 |
5.0.9 | 91 | 12/23/2024 |
5.0.8 | 98 | 12/23/2024 |
5.0.7 | 367 | 12/13/2024 |
5.0.6 | 99 | 12/13/2024 |
5.0.5 | 105 | 12/12/2024 |
5.0.4 | 94 | 12/12/2024 |
5.0.3 | 97 | 12/12/2024 |
5.0.2 | 94 | 12/12/2024 |
5.0.1 | 1,346 | 12/11/2024 |
1.0.33 | 96 | 12/11/2024 |
1.0.32 | 91 | 12/11/2024 |
1.0.31 | 91 | 12/11/2024 |
1.0.30 | 4,180 | 11/12/2024 |
1.0.29 | 100 | 11/12/2024 |
1.0.28 | 2,360 | 11/1/2024 |
1.0.27 | 743 | 11/1/2024 |
1.0.26 | 92 | 10/31/2024 |
1.0.25 | 90 | 10/31/2024 |
1.0.24 | 383 | 10/30/2024 |
1.0.23 | 205 | 10/30/2024 |
1.0.22 | 189 | 10/30/2024 |
1.0.20 | 332 | 10/29/2024 |
1.0.19 | 209 | 10/29/2024 |
1.0.18 | 158 | 10/28/2024 |
1.0.17 | 113 | 10/28/2024 |
1.0.16 | 104 | 10/28/2024 |
1.0.15 | 99 | 10/28/2024 |
1.0.14 | 103 | 10/28/2024 |
1.0.13 | 109 | 10/25/2024 |
1.0.12 | 126 | 10/24/2024 |
1.0.11 | 109 | 10/19/2024 |
1.0.10 | 132 | 10/18/2024 |
1.0.9 | 125 | 10/18/2024 |
1.0.8 | 134 | 10/18/2024 |
1.0.7 | 152 | 10/18/2024 |