FingerprintPro.ServerSdk
1.0.0-test.4
See the version list below for details.
dotnet add package FingerprintPro.ServerSdk --version 1.0.0-test.4
NuGet\Install-Package FingerprintPro.ServerSdk -Version 1.0.0-test.4
<PackageReference Include="FingerprintPro.ServerSdk" Version="1.0.0-test.4" />
paket add FingerprintPro.ServerSdk --version 1.0.0-test.4
#r "nuget: FingerprintPro.ServerSdk, 1.0.0-test.4"
// Install FingerprintPro.ServerSdk as a Cake Addin #addin nuget:?package=FingerprintPro.ServerSdk&version=1.0.0-test.4&prerelease // Install FingerprintPro.ServerSdk as a Cake Tool #tool nuget:?package=FingerprintPro.ServerSdk&version=1.0.0-test.4&prerelease
<p align="center"> <a href="https://fingerprint.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/main/res/logo_light.svg" /> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/main/res/logo_dark.svg" /> <img src="https://raw.githubusercontent.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/main/res/logo_dark.svg" alt="Fingerprint logo" width="312px" /> </picture> </a> </p> <p align="center"> <a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/actions/workflows/release.yml"> <img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/actions/workflows/release.yml/badge.svg" alt="CI badge" /> </a> <a href="https://github.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/actions/workflows/tests.yml"> <img src="https://github.com/fingerprintjs/fingerprint-pro-server-api-dotnet-sdk/actions/workflows/tests.yml/badge.svg" alt="CI badge" /> </a> <a href="https://opensource.org/licenses/MIT"> <img src="https://img.shields.io/:license-mit-blue.svg?style=flat"/> </a> <a href="https://discord.gg/39EpE2neBg"> <img src="https://img.shields.io/discord/852099967190433792?style=logo&label=Discord&logo=Discord&logoColor=white" alt="Discord server"> </a> </p>
FingerprintPro.ServerSdk - the C# library for the Fingerprint Pro Server API
Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. This API can be used for data exports, decision-making, and data analysis scenarios.
This C# SDK is automatically generated by the Swagger Codegen project:
- API version: 3
- SDK version: 1.0.0-test.4
- Build package: io.swagger.codegen.v3.generators.dotnet.CSharpClientCodegen
<a name="frameworks-supported"></a>
Frameworks supported
- .NET 5.0 or later
<a name="dependencies"></a>
Dependencies
- RestSharp - 105.1.0 or later
- Json.NET - 7.0.0 or later
- JsonSubTypes - 1.2.0 or later
The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:
Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742
<a name="installation"></a>
Installation
// TODO Update this section once package is published to nuget
Run the following command to generate the DLL
- [Mac/Linux]
/bin/sh build.sh
- [Windows]
build.bat
Then include the DLL (under the bin
folder) in the C# project, and use the namespaces:
using FingerprintPro.ServerSdk.Api;
using FingerprintPro.ServerSdk.Client;
using FingerprintPro.ServerSdk.Model;
<a name="getting-started"></a>
Getting Started
// See https://aka.ms/new-console-template for more information
// Example usage of our SDK
using FingerprintPro.ServerSdk.Api;
using FingerprintPro.ServerSdk.Client;
// Initialize configuration and add your api key
var configuration = new Configuration(Environment.GetEnvironmentVariable("API_KEY")!);
var api = new FingerprintApi(
configuration
);
var requestId = Environment.GetEnvironmentVariable("REQUEST_ID")!;
var visitorId = Environment.GetEnvironmentVariable("VISITOR_ID")!;
var visits = api.GetVisits(visitorId);
var events = api.GetEvent(requestId);
Console.WriteLine(visits);
Console.WriteLine(events);
Region
If your subscription is in region other than US, you need to change the region in the configuration:
using FingerprintPro.ServerSdk.Client;
var configuration = new Configuration(Environment.GetEnvironmentVariable("API_KEY")!)
{
Region = Region.Eu // or Region.Asia
};
<a name="documentation-for-api-endpoints"></a>
Documentation for API Endpoints
All URIs are relative to https://api.fpjs.io
Class | Method | HTTP request | Description |
---|---|---|---|
FingerprintApi | GetEvent | GET /events/{request_id} | Get event by requestId |
FingerprintApi | GetVisits | GET /visitors/{visitor_id} | Get visits by visitorId |
<a name="documentation-for-models"></a>
Documentation for Models
- [Model.BotdDetectionResult](docs/BotdDetectionResult.md)
- Model.BotdError
- Model.BotdResult
- Model.BrowserDetails
- Model.Confidence
- Model.ErrorEvent403Response
- Model.ErrorEvent403ResponseError
- Model.ErrorEvent404Response
- Model.ErrorEvent404ResponseError
- Model.EventResponse
- Model.IPLocation
- Model.IPLocationCity
- Model.Location
- Model.ManyRequestsResponse
- Model.ProductsResponse
- Model.ProductsResponseBotd
- Model.ProductsResponseIdentification
- Model.ProductsResponseIdentificationData
- Model.Response
- Model.ResponseVisits
- Model.SeenAt
- Model.Subdivision
- Model.Visit
- Model.WebhookVisit
<a name="documentation-for-authorization"></a>
Documentation for Authorization
<a name="ApiKeyHeader"></a>
ApiKeyHeader
- Type: API key
- API key parameter name: Auth-API-Key
- Location: HTTP header
<a name="ApiKeyQuery"></a>
ApiKeyQuery
- Type: API key
- API key parameter name: api_key
- Location: URL query string
<a name="Author"></a>
Author
<a href="mailto:support@fingerprint.com">support@fingerprint.com</a>
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 was computed. 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. |
-
net5.0
- JsonSubTypes (>= 2.0.1)
- Newtonsoft.Json (>= 13.0.2)
- RestSharp (>= 105.1.0)
-
net6.0
- JsonSubTypes (>= 2.0.1)
- Newtonsoft.Json (>= 13.0.2)
- RestSharp (>= 105.1.0)
-
net7.0
- JsonSubTypes (>= 2.0.1)
- Newtonsoft.Json (>= 13.0.2)
- RestSharp (>= 105.1.0)
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 |
---|---|---|
7.0.0-test.0 | 109 | 9/26/2024 |
6.2.2 | 5,415 | 9/17/2024 |
6.2.1 | 113 | 9/16/2024 |
6.2.0 | 764 | 9/12/2024 |
6.1.0 | 1,473 | 8/5/2024 |
6.0.2 | 7,744 | 7/10/2024 |
6.0.1 | 585 | 6/28/2024 |
6.0.0 | 103 | 6/28/2024 |
6.0.0-test.3 | 40 | 6/25/2024 |
6.0.0-test.2 | 96 | 6/19/2024 |
6.0.0-test.1 | 56 | 6/17/2024 |
5.0.0 | 7,683 | 3/28/2024 |
5.0.0-test.1 | 62 | 3/28/2024 |
4.1.0 | 562 | 3/28/2024 |
4.0.0 | 1,724 | 3/18/2024 |
3.1.0 | 772 | 2/13/2024 |
3.0.0 | 1,536 | 1/12/2024 |
2.4.0 | 1,526 | 11/23/2023 |
2.3.2 | 446 | 10/20/2023 |
2.3.1 | 205 | 9/25/2023 |
2.3.0 | 187 | 7/31/2023 |
2.2.1 | 1,058 | 7/11/2023 |
2.2.0 | 455 | 6/1/2023 |
2.1.0 | 149 | 5/16/2023 |
2.0.0 | 1,718 | 1/30/2023 |
1.0.0 | 294 | 1/23/2023 |
1.0.0-test.9 | 114 | 1/23/2023 |
1.0.0-test.8 | 105 | 1/19/2023 |
1.0.0-test.7 | 97 | 1/18/2023 |
1.0.0-test.6 | 111 | 1/18/2023 |
1.0.0-test.5 | 104 | 1/17/2023 |
1.0.0-test.4 | 98 | 1/17/2023 |
1.0.0-test.3 | 106 | 1/17/2023 |