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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" Version="5.0.73" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VeeFriends.ShopifySync.WhatNot" Version="5.0.73" />
                    
Directory.Packages.props
<PackageReference Include="VeeFriends.ShopifySync.WhatNot" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VeeFriends.ShopifySync.WhatNot --version 5.0.73
                    
#r "nuget: VeeFriends.ShopifySync.WhatNot, 5.0.73"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VeeFriends.ShopifySync.WhatNot@5.0.73
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VeeFriends.ShopifySync.WhatNot&version=5.0.73
                    
Install as a Cake Addin
#tool nuget:?package=VeeFriends.ShopifySync.WhatNot&version=5.0.73
                    
Install as a Cake Tool

VeeFriends.ShopifySync 🛍️🔁

NuGet Version

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:

  1. Create a new class that inherits from SellerHttpClient<TRequestOptions>.
  2. Implement a new SellerPlatform<TProduct, TOrder, TRequestOptions> for your platform.
  3. Create platform-specific ProductModel and OrderModel classes.
  4. Add an extension method to ShopifySyncCollection for easy configuration.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 18,362 5/19/2025
5.0.72 168 5/19/2025
5.0.71 3,274 3/18/2025
5.0.70 4,885 2/6/2025
5.0.69 172 2/6/2025
5.0.68 240 2/5/2025
5.0.66 144 2/5/2025
5.0.65 521 1/30/2025
5.0.64 1,316 1/18/2025
5.0.63 105 1/17/2025
5.0.62 156 1/17/2025
5.0.61 111 1/17/2025
5.0.60 104 1/17/2025
5.0.59 94 1/17/2025
5.0.58 135 1/17/2025
5.0.57 113 1/17/2025
5.0.56 148 1/17/2025
5.0.55 139 1/17/2025
5.0.54 149 1/17/2025
5.0.52 123 1/17/2025
5.0.51 134 1/16/2025
5.0.49 175 1/16/2025
5.0.47 99 1/16/2025
5.0.46 166 1/16/2025
5.0.45 148 1/16/2025
5.0.44 145 1/16/2025
5.0.43 159 1/16/2025
5.0.42 113 1/15/2025
5.0.41 97 1/15/2025
5.0.40 153 1/15/2025
5.0.39 166 1/15/2025
5.0.38 153 1/15/2025
5.0.37 168 1/15/2025
5.0.36 187 1/15/2025
5.0.35 120 1/15/2025
5.0.34 129 1/15/2025
5.0.33 230 1/14/2025
5.0.32 99 1/14/2025
5.0.31 100 1/14/2025
5.0.30 104 1/14/2025
5.0.29 104 1/14/2025
5.0.28 108 1/14/2025
5.0.27 96 1/13/2025
5.0.26 120 1/13/2025
5.0.25 234 1/13/2025
5.0.23 132 1/10/2025
5.0.22 118 1/10/2025
5.0.21 109 1/10/2025
5.0.19 131 1/9/2025
5.0.18 127 1/9/2025
5.0.17 214 1/9/2025
5.0.16 537 1/3/2025
5.0.15 129 1/2/2025
5.0.14 132 1/2/2025
5.0.13 130 1/2/2025
5.0.12 234 12/23/2024
5.0.11 115 12/23/2024
5.0.10 128 12/23/2024
5.0.9 115 12/23/2024
5.0.8 135 12/23/2024
5.0.7 396 12/13/2024
5.0.6 142 12/13/2024
5.0.5 148 12/12/2024
5.0.4 133 12/12/2024
5.0.3 122 12/12/2024
5.0.2 134 12/12/2024
5.0.1 1,383 12/11/2024
1.0.33 125 12/11/2024
1.0.32 131 12/11/2024
1.0.31 134 12/11/2024
1.0.30 4,223 11/12/2024
1.0.29 129 11/12/2024
1.0.28 2,403 11/1/2024
1.0.27 771 11/1/2024
1.0.26 131 10/31/2024
1.0.25 125 10/31/2024
1.0.24 418 10/30/2024
1.0.23 243 10/30/2024
1.0.22 224 10/30/2024
1.0.20 376 10/29/2024
1.0.19 235 10/29/2024
1.0.18 209 10/28/2024
1.0.17 152 10/28/2024
1.0.16 131 10/28/2024
1.0.15 146 10/28/2024
1.0.14 127 10/28/2024
1.0.13 137 10/25/2024
1.0.12 154 10/24/2024
1.0.11 126 10/19/2024
1.0.10 166 10/18/2024
1.0.9 159 10/18/2024
1.0.8 157 10/18/2024
1.0.7 181 10/18/2024