zms9110750.Warframe.Market 0.2.0-a.2

This is a prerelease version of zms9110750.Warframe.Market.
This package has a SemVer 2.0.0 package version: 0.2.0-a.2+v0.25.0.
dotnet add package zms9110750.Warframe.Market --version 0.2.0-a.2
                    
NuGet\Install-Package zms9110750.Warframe.Market -Version 0.2.0-a.2
                    
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="zms9110750.Warframe.Market" Version="0.2.0-a.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="zms9110750.Warframe.Market" Version="0.2.0-a.2" />
                    
Directory.Packages.props
<PackageReference Include="zms9110750.Warframe.Market" />
                    
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 zms9110750.Warframe.Market --version 0.2.0-a.2
                    
#r "nuget: zms9110750.Warframe.Market, 0.2.0-a.2"
                    
#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 zms9110750.Warframe.Market@0.2.0-a.2
                    
#: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=zms9110750.Warframe.Market&version=0.2.0-a.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=zms9110750.Warframe.Market&version=0.2.0-a.2&prerelease
                    
Install as a Cake Tool

Warframe.Market API

Warframe.market 官方 API 的 .NET 客户端库(拟合 API 文档 v0.25.0)。支持 .NET 8+,依赖仅 3 个包(Refit / Polly / Polly.RateLimiting)。

安装

dotnet add package zms9110750.Warframe.Market

用法

using zms9110750.WarframeMarketApi;

// 新建连接器:内置 Polly 弹性管道(限流 3/s + 429/空数据重试)
var client = new WarframeMarketClient();

// 拿物品全集(建议缓存:全集较大且变更不频繁;内置限流 3/s 会自动排队)
var items = (await client.GetItemsAsync())?.Content?.Data ?? [];

// 从全集里拿"盲怒",查它的订单
var blindRage = items.First(i => i.Slug == "blind_rage");
var orders = (await client.GetOrdersItemAsync(blindRage.Slug))?.Content?.Data ?? [];

foreach (var o in orders.Take(10))
{
    Console.WriteLine($"{o.User?.IngameName} {o.Type} {o.Platinum}p x{o.Quantity}");
}

内容

  • WarframeMarketClient:全部端点(物品/订单/用户/成就/统计/版本),内置 Polly 弹性管道(限流 3/s + 429/空数据重试)
  • Api/:Refit 接口定义
  • Models/:API 数据模型
  • Requests/:请求体
Product 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. 
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
0.2.0-a.2 60 8/13/2026

对应 warframe.market API v0.25.0;API 客户端(物品/订单/用户/统计),内置 Polly 限流/重试