Xiphias.BladeFX.ThirdPartyLib.NET 1.0.4

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

Xiphias.BladeFX.ThirdPartyLibrary.NET

Third party library developed for easy access to BladeFX reporting server app within other applications. It is used to get users, reports and all other data from BladeFX.

Usage

Get reports list

GetReportList(string token, string apiUrl, int? catId, string? search = null, string returnType = "JSON", string attribute="")

//catId - only report in category
//search - search reports by name
//attribute - search by attribute name

  string APIURL = "https://api.blade-fx.com"
  string BladeFXURL = "https://www.blade-fx.com"
  var login = new FxApiUsers();
  var token = login.UserLogin(APIURL, username, password).Token;
  if (token.Length > 0)
  {
    var reportsApi = new FxApiReport();
    List<dynamic> reports = 
      JsonConvert.DeserializeObject<List<dynamic>>
      (reportsApi.GetReportList(token, APIURL, 0, search: ""));
  }

Get report preview URL

GetReportPreviewURL(token, APIURL, BladeFXURL, rDef)

  string APIURL = "https://api.blade-fx.com"
  string BladeFXURL = "https://www.blade-fx.com"
  var login = new FxApiUsers();
  var token = login.UserLogin(APIURL, username, password).Token;
  if (token.Length > 0)
  {
   var reportsApi = new FxApiReport();
   ReportParamsDef rDef = new ReportParamsDef();
   rDef.rep_id = rep_id;
   rDef.AddParam("@idPartnera", idPartnera.ToString()); 
   var result = reportsApi.GetReportPreviewURL(token, APIURL, BladeFXURL, rDef);
  }

Contributing

All suggestions and request can be send via mail x@xiphias.hr. We will take them into consideration for updates.

License

MIT

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 (1)

Showing the top 1 NuGet packages that depend on Xiphias.BladeFX.ThirdPartyLib.NET:

Package Downloads
BladeLicence

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 153 2/3/2025
1.0.3 301 10/24/2024
1.0.2 128 10/22/2024
1.0.1 152 10/8/2024
1.0.0 203 9/11/2024