Beforeguard.Frostline.Core
0.4.0
dotnet add package Beforeguard.Frostline.Core --version 0.4.0
NuGet\Install-Package Beforeguard.Frostline.Core -Version 0.4.0
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="Beforeguard.Frostline.Core" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Beforeguard.Frostline.Core" Version="0.4.0" />
<PackageReference Include="Beforeguard.Frostline.Core" />
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 Beforeguard.Frostline.Core --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Beforeguard.Frostline.Core, 0.4.0"
#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 Beforeguard.Frostline.Core@0.4.0
#: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=Beforeguard.Frostline.Core&version=0.4.0
#tool nuget:?package=Beforeguard.Frostline.Core&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Frostline.Core
Core authentication and HTTP infrastructure for the Frostline Battle.net SDK.
Features
- OAuth 2.0 Client Credentials Flow - Automatic token acquisition and management
- Token Caching - Smart caching with expiry handling
- Multi-Region Support - US, EU, KR, TW, and CN regions
- Result-Based Error Handling - Idiomatic F# error handling with
Result<'T, FrostlineError> - Pure F# Implementation - Built using only .NET 10 built-ins, no external OAuth libraries
Installation
dotnet add package Beforeguard.Frostline.Core
Quick Start
open Beforeguard.Frostline.Core
// Configure with your Battle.net credentials
let config = ClientConfig.create "your-client-id" "your-client-secret" Region.US
// Create HTTP client
let httpClient = new BattleNetHttpClient(config)
// Make authenticated API calls
let! result = httpClient.GetAsync<'T>("profile/user/wow")
match result with
| Ok data -> printfn "Success: %A" data
| Error err -> printfn "Error: %A" err
Supported Regions
Region.US // United States
Region.EU // Europe
Region.KR // Korea
Region.TW // Taiwan
Region.CN // China
Error Handling
All API operations return Result<'T, FrostlineError> for predictable error handling:
type FrostlineError =
| GeneralError of string
// More specific error types coming in future releases
Documentation
- Full Documentation: github.com/Beforeguard/Frostline
- API Reference: Frostline Wiki
- Issues & Support: GitHub Issues
Related Packages
- Beforeguard.Frostline.WoW - World of Warcraft API bindings
- More game-specific packages coming soon
License
MIT License - Copyright © 2026 Beforeguard
| 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
- FSharp.Core (>= 10.1.401)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Beforeguard.Frostline.Core:
| Package | Downloads |
|---|---|
|
Beforeguard.Frostline.WoW
World of Warcraft API client for the Frostline Battle.net SDK. Provides type-safe, idiomatic F# bindings for WoW Profile APIs with strongly-typed domain models. |
GitHub repositories
This package is not used by any popular GitHub repositories.