Coflnet.Sky.Api.Client 0.7.5

dotnet add package Coflnet.Sky.Api.Client --version 0.7.5
                    
NuGet\Install-Package Coflnet.Sky.Api.Client -Version 0.7.5
                    
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="Coflnet.Sky.Api.Client" Version="0.7.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Coflnet.Sky.Api.Client" Version="0.7.5" />
                    
Directory.Packages.props
<PackageReference Include="Coflnet.Sky.Api.Client" />
                    
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 Coflnet.Sky.Api.Client --version 0.7.5
                    
#r "nuget: Coflnet.Sky.Api.Client, 0.7.5"
                    
#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 Coflnet.Sky.Api.Client@0.7.5
                    
#: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=Coflnet.Sky.Api.Client&version=0.7.5
                    
Install as a Cake Addin
#tool nuget:?package=Coflnet.Sky.Api.Client&version=0.7.5
                    
Install as a Cake Tool

Sky API

Deploying

This project should be deployed within a container.

Configuration

See appsettings.json
and jaeger

Rate Limiting

The API supports both IP-based rate limiting (for public/anonymous requests) and Client-based rate limiting (for authenticated clients with higher quotas).

IP Rate Limiting (Default)

By default, all requests are rate limited by IP address. The default limits are configured in appsettings.json under IpRateLimiting.

Client Rate Limiting (Premium Clients)

Premium clients can bypass IP rate limits by passing a client ID header (X-ClientId).

Environment Variables for Client Rate Limiting:

Variable Description Example
PREMIUM_CLIENT_IDS Comma-separated list of client IDs to whitelist (no rate limits) client-1,client-2,client-3
PREMIUM_CLIENT_RULES Custom rate limit rules per client. Format: clientId:period=limit,period=limit;clientId2:... premium:1s=20,1m=500;vip:1s=50,1m=1000

Example Usage:

# Whitelist specific clients (no rate limits applied)
export PREMIUM_CLIENT_IDS="trusted-partner-1,trusted-partner-2"

# Configure custom limits for premium clients
export PREMIUM_CLIENT_RULES="basic-tier:10s=50,1m=200;premium-tier:10s=100,1m=500"

Making requests with Client ID:

# Request with client ID header (uses client-specific limits if configured)
curl -H "X-ClientId: your-client-id" https://api.example.com/api/endpoint

How it works:

  1. If a request contains the X-ClientId header and the client ID is in PREMIUM_CLIENT_IDS, no rate limits apply
  2. If the client ID has custom rules configured via PREMIUM_CLIENT_RULES, those limits apply
  3. If no client ID is provided or it doesn't match any rules, IP-based rate limits apply
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.7.5 803 3/29/2026
0.7.4 240 3/28/2026
0.7.3 112 3/21/2026
0.7.2 5,013 1/4/2025
0.7.0 3,078 7/25/2024
0.6.1 1,867 4/24/2024
0.6.0 1,211 1/22/2024
0.5.0 1,830 10/14/2023
0.4.2 598 4/12/2023
0.4.1 398 3/28/2023
0.4.0 356 3/27/2023
0.3.0 1,905 3/17/2023
0.2.0 1,931 9/22/2022
0.1.0 864 5/31/2022
0.0.2 789 3/5/2022
0.0.1 560 3/5/2022

Minor update