TempusApi 4.0.4
dotnet add package TempusApi --version 4.0.4
NuGet\Install-Package TempusApi -Version 4.0.4
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="TempusApi" Version="4.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TempusApi" Version="4.0.4" />
<PackageReference Include="TempusApi" />
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 TempusApi --version 4.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TempusApi, 4.0.4"
#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 TempusApi@4.0.4
#: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=TempusApi&version=4.0.4
#tool nuget:?package=TempusApi&version=4.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TempusApi
Tempus API client for https://tempus2.xyz. Targets .NET 10 and is distributed via NuGet.
Install
dotnet add package TempusApi
Quick start
using TempusApi;
using TempusApi.Enums;
using var httpClient = new HttpClient();
var client = new TempusClient(httpClient);
var demo = await client.GetDemoInfoAsync(2294289);
var records = await client.GetTopZonedTimes("jump_beef", ZoneType.Map, 1, limit: 1);
Rate limiting
- The API enforces rate limits; 429 responses are handled using Retry-After headers.
- Configure pacing/retries with
TempusClientOptions:
var options = new TempusClientOptions
{
MinimumRequestInterval = TimeSpan.FromMilliseconds(200),
MaxRetryCount = 5
};
var client = new TempusClient(new HttpClient(), options);
Notes
- Use a singleton
TempusClientfor shared rate-limit state. RecordInfoShort.DemoInfobinds demo URL/ID when returned by the API.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.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.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.4 | 156 | 1/25/2026 |
| 4.0.3 | 135 | 1/25/2026 |
| 4.0.2 | 137 | 1/25/2026 |
| 4.0.1 | 132 | 1/25/2026 |
| 4.0.0 | 131 | 1/25/2026 |
| 3.1.4 | 347 | 2/26/2024 |
| 3.1.3 | 222 | 2/26/2024 |
| 3.1.2 | 239 | 2/26/2024 |
| 3.1.1 | 229 | 2/25/2024 |
| 3.1.0 | 265 | 2/24/2024 |
| 3.0.9 | 141 | 1/25/2026 |
| 3.0.7 | 236 | 2/19/2024 |
| 3.0.6 | 376 | 12/28/2023 |
| 2.0.2 | 415 | 4/3/2023 |
| 1.0.9 | 656 | 5/2/2021 |
| 1.0.8 | 587 | 5/2/2021 |
| 1.0.7 | 572 | 3/15/2021 |
| 1.0.6 | 577 | 3/15/2021 |
| 1.0.5 | 560 | 3/3/2021 |
| 1.0.4 | 571 | 3/3/2021 |
Loading failed
Update System.Text.Json to 10.0.2; allow negative or string start_tick/end_tick values in demo_info. Includes package README and 429 Retry-After handling.