EasyKeys.Veeqo.BulkTagging 1.2.1

dotnet add package EasyKeys.Veeqo.BulkTagging --version 1.2.1                
NuGet\Install-Package EasyKeys.Veeqo.BulkTagging -Version 1.2.1                
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="EasyKeys.Veeqo.BulkTagging" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasyKeys.Veeqo.BulkTagging --version 1.2.1                
#r "nuget: EasyKeys.Veeqo.BulkTagging, 1.2.1"                
#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.
// Install EasyKeys.Veeqo.BulkTagging as a Cake Addin
#addin nuget:?package=EasyKeys.Veeqo.BulkTagging&version=1.2.1

// Install EasyKeys.Veeqo.BulkTagging as a Cake Tool
#tool nuget:?package=EasyKeys.Veeqo.BulkTagging&version=1.2.1                

Veeqo API Wrapper

Overview

This repository contains a .NET wrapper for the Veeqo API. The wrapper simplifies interaction with Veeqo's various endpoints, allowing developers to easily integrate Veeqo functionalities into their applications.

Features

  • Simplified API interaction with Veeqo.
  • Support for major Veeqo endpoints (Products, Orders, Customers, etc.).
  • Error handling and response validation.
  • Customizable to fit different use cases.

Installation

To install the Veeqo API Wrapper, you can add the package reference to your project:

<PackageReference Include="EasyKeys.Veeqo" Version="1.0.0" />

Usage

Here's a quick example to get you started:

using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using EasyKeys.Veeqo.Orders;
using EasyKeys.Veeqo.Orders.Models.Parameters;

// Configure your services
var services = new ServiceCollection();

var dic = new Dictionary<string, string>
{
    { "VeeqoClientOptions:BaseUrl", "https://private-anon-4c0cd8afa3-veeqo.apiary-proxy.com/" },
    { "VeeqoClientOptions:ApiKey" , "your-api-key" },
};

var configBuilder = new ConfigurationBuilder().AddInMemoryCollection(dic);
var config = configBuilder.Build();

services.AddSingleton<IConfiguration>(config);
services.AddVeeqoBulkTaggingClient();

var serviceProvider = services.BuildServiceProvider();
var veeqoBulkTaggingClient = sp.GetRequiredService<IVeeqoBulkTaggingClient>();

var ordersTag = await veeqoBulkTaggingClient.BulkTagOrdersAsync([1,2,3], [1,3,4]);

var productsTag = await veeqoBulkTaggingClient.BulkTagProductsAsync([1, 2, 3], [1, 3, 4]);

Authentication

To use the Veeqo API, you need to obtain an API key from your Veeqo account. Once you have the key, configure the VeeqoClientOptions with your API key as shown in the example above.

Endpoints

The wrapper supports the following Veeqo endpoints:

Products

  • GetProductsAsync(): Retrieve a list of products.
  • GetProductAsync(productId): Retrieve a single product by its ID.
  • CreateProductAsync(data): Create a new product.
  • UpdateProductAsync(productId, data): Update an existing product.
  • DeleteProductAsync(productId): Delete a product by its ID.

Orders

  • ListOrdersAsync(parameters): Retrieve a list of orders.
  • GetOrderAsync(orderId): Retrieve a single order by its ID.
  • CreateVeeqoOrderAsync(order): Create a new order.
  • UpdateVeeqoOrderAsync(orderId, order): Update an existing order.
  • CreateOrderNotesAsync(orderId, text): Create a note for an order.

Models

Request Models

Request models are used to structure the data sent to the Veeqo API when creating or updating resources. For example, RequestOrder is used when creating or updating an order. These models are located in the Models/Request folder.

Response Models

Response models represent the structure of the data returned by the Veeqo API. For example, Order is used to represent the details of an order returned by the API. These models are located in the Models/Response folder.

Parameters Models

Parameter models are used to filter and paginate the results when retrieving data from the API. For example, GetOrdersParameters allows you to specify various criteria such as date range, status, and pagination options to refine the results returned by the API. These models are located in the Models/Parameters folder.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.

Steps to Contribute

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions or suggestions, please feel free to open an issue or contact us directly.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
1.2.1 313 8/9/2024
1.2.0 109 8/7/2024
1.0.1 111 8/6/2024
1.0.0 97 8/6/2024