Finturest.Country.Abstractions
1.0.1
dotnet add package Finturest.Country.Abstractions --version 1.0.1
NuGet\Install-Package Finturest.Country.Abstractions -Version 1.0.1
<PackageReference Include="Finturest.Country.Abstractions" Version="1.0.1" />
<PackageVersion Include="Finturest.Country.Abstractions" Version="1.0.1" />
<PackageReference Include="Finturest.Country.Abstractions" />
paket add Finturest.Country.Abstractions --version 1.0.1
#r "nuget: Finturest.Country.Abstractions, 1.0.1"
#addin nuget:?package=Finturest.Country.Abstractions&version=1.0.1
#tool nuget:?package=Finturest.Country.Abstractions&version=1.0.1
Finturest Country API C# SDK
Official C# SDK for the Finturest Country API - supports .NET Standard 2.0+ and all modern .NET versions.
Overview
This SDK offers seamless integration with the Finturest Country API, enabling access to up-to-date and structured data for all countries and territories. It supports .NET Standard 2.0 and later, ensuring compatibility with .NET Core and the latest .NET releases.
Features
Global Coverage: Provides information on all 249 countries and territories worldwide.
Standardized Country Codes: Supports ISO 3166-1 alpha-2, alpha-3, and numeric codes.
Currency & Language Metadata: Includes official currencies, languages, and region details per country.
Geopolitical Details: Returns data on capitals, time zones, regional blocks, and more.
Reliable Data Source: Aggregated from trusted international standards and regularly updated.
Installation
Using the .NET Core command-line interface (CLI) tools:
dotnet add package Finturest.Country
Using the NuGet Command Line Interface (CLI):
nuget install Finturest.Country
Using the Package Manager Console:
Install-Package Finturest.Country
From within Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within your solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for "Finturest.Country".
- Click on the Finturest.Country package, select the appropriate version in the right-tab and click Install.
Usage
Registering
To use the Finturest.Country
client, register it in your application's dependency injection container using AddFinturestCountry
. This configures the services required to communicate with the Finturest Country API.
var services = new ServiceCollection();
services.AddFinturestCountry(options =>
{
options.ApiKey = "YOUR_API_KEY";
});
Note
ICountryServiceClient
is registered in the DI container and should be resolved via dependency injection.
In ASP.NET Core applications, it's recommended to inject it through constructor injection.
Note
The abstractions for the Finturest Country API client are provided in a separate package namedFinturest.Country.Abstractions
.
You can reference this package in your business layer to avoid a tight dependency on the implementation.
Only the root application or composition root should reference the fullFinturest.Country
package that contains the implementation.
Get countries
To get countries using the Finturest Country API, call the GetCountriesAsync
method on the ICountryServiceClient
.
var serviceProvider = services.BuildServiceProvider();
var countryServiceClient = serviceProvider.GetRequiredService<ICountryServiceClient>();
var result = await countryServiceClient.GetCountriesAsync();
Console.WriteLine($"Countries: {result.Count}.");
Note
In production applications, avoid usingBuildServiceProvider()
manually.
Instead, use constructor injection to getICountryServiceClient
from the framework’s dependency injection system.
Subscription & Pricing
To get access to the Finturest Country API or subscribe to a plan, please visit the subscription page. An active subscription is required to access the API in production.
API Key Generation
An API key is required to use the SDK and can be generated on your Finturest dashboard:
Documentation
For full API reference and usage guides, please visit the official Finturest Country API documentation:
Contact
For support, questions, or inquiries, please contact us at: support@finturest.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Finturest.Country.Abstractions:
Package | Downloads |
---|---|
Finturest.Country
Official C# SDK for Finturest Country API - supports .NET Standard 2.0+ and all modern .NET versions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.1 | 118 | 5/17/2025 |