r6-marketplace
1.0.1
See the version list below for details.
dotnet add package r6-marketplace --version 1.0.1
NuGet\Install-Package r6-marketplace -Version 1.0.1
<PackageReference Include="r6-marketplace" Version="1.0.1" />
<PackageVersion Include="r6-marketplace" Version="1.0.1" />
<PackageReference Include="r6-marketplace" />
paket add r6-marketplace --version 1.0.1
#r "nuget: r6-marketplace, 1.0.1"
#:package r6-marketplace@1.0.1
#addin nuget:?package=r6-marketplace&version=1.0.1
#tool nuget:?package=r6-marketplace&version=1.0.1
R6 Marketplace API Wrapper
A .NET wrapper for the Rainbow Six Siege Marketplace API.
Features
Pretty much all the requests have already been implemented. <details> <summary>Click here to view the list of all the completed features</summary>
- Authentication flow
- Retrieve item data by ID
- Retrieve item sale history
- Search items by name or filters
- Retrieve account details (balance/inventory)
- Retrieve orders (open/history)
- Manage sale orders
- Manage buy orders
- Updates events handling
- Token refresher
</details>
Planned / Completed improvements (what I'm focusing on right now)
- Order / Item refactoring
- Better filtering logic
- Better filenaming
- Advanced error handling
- Optimized requests
Installation
With NuGet:
dotnet add package r6-marketplace
Or Visual Studio NuGet Package Manager:
Install-Package r6-marketplace
Usage
Documentation
Example (I update it rarely so it may be outdated)
Example
using r6_marketplace;
using r6_marketplace.Endpoints;
namespace Example
{
class Program
{
static async Task Main(string[] args)
{
r6_marketplace.R6MarketplaceClient client = new r6_marketplace.R6MarketplaceClient();
await client.Authenticate("email", "password");
int balance = await client.AccountEndpoints.GetBalance();
var inventory = await client.AccountEndpoints.GetInventory(
limit: 500
);
var totalValue = inventory.GetInventoryValue();
Console.WriteLine($"Total value: {totalValue.TotalValue}");
Console.WriteLine($"Total value without fees: {totalValue.TotalValueWithoutFee}");
}
}
}
Contributing
Contributions are welcome! If you find bugs or want to suggest improvements, feel free to open an issue or create a pull request! I'm completely open to all contributions, so don’t hesitate to reach out with anything you find!
License & Disclaimer
This project is licensed under the Apache 2.0 License.
"Ubisoft" and related marks are trademarks or registered trademarks of Ubisoft Entertainment. This project is not affiliated with, endorsed, or sponsored by Ubisoft Entertainment.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. net9.0 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Moved all request bodies to embedded resources