MatthiWare.FinancialModelingPrep 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MatthiWare.FinancialModelingPrep --version 0.1.0                
NuGet\Install-Package MatthiWare.FinancialModelingPrep -Version 0.1.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="MatthiWare.FinancialModelingPrep" Version="0.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MatthiWare.FinancialModelingPrep --version 0.1.0                
#r "nuget: MatthiWare.FinancialModelingPrep, 0.1.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.
// Install MatthiWare.FinancialModelingPrep as a Cake Addin
#addin nuget:?package=MatthiWare.FinancialModelingPrep&version=0.1.0

// Install MatthiWare.FinancialModelingPrep as a Cake Tool
#tool nuget:?package=MatthiWare.FinancialModelingPrep&version=0.1.0                

FinancialModelingPrep.NET

C# API Client For Financial Modeling Prep API written in .NET 5

Installation

PM> Install-Package MatthiWare.FinancialModelingPrep

Quick Start

Register FinancialModelingPrepApiClient in Dependency Injection provider

Services.AddFinancialModelingPrepApiClient(new FinancialModelingPrepOptions() 
{
    ApiKey = "API-KEY-HERE"
});

Resolve FMP API Client

var apiClient = ServiceProvider.GetRequiredService<IFinancialModelingPrepApiClient>();

// do something with apiClient like getting the latest Apple Stock Quote
var quoteResult = await api.CompanyValuation.GetQuoteAsync("AAPL");

All API Responses are wrapped in an ApiResponse<T> object.

var quoteResult = await api.CompanyValuation.GetQuoteAsync("AAPL");

// Display Apple Stock Quote
if (!quoteResult.HasError)
{
   Console.WriteLine($"$AAPL is currently trading at: {quoteResult.Data.Price}");
} 
else 
{
   Console.WriteLine($"Error Message: {quoteResult.Error}");
}
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
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.3.0 466 6/8/2024
0.2.2 1,308 2/8/2023
0.2.1 282 2/6/2023
0.2.0 372 11/19/2022
0.1.14 509 10/2/2022
0.1.13 486 7/10/2022
0.1.12 496 6/17/2022
0.1.11 444 6/16/2022
0.1.10 442 6/8/2022
0.1.9 557 2/19/2022
0.1.8 374 11/19/2021
0.1.7 340 11/5/2021
0.1.6 332 10/2/2021
0.1.5 336 8/9/2021
0.1.4 391 7/11/2021
0.1.3 398 6/4/2021
0.1.2 370 5/31/2021
0.1.1 356 5/24/2021
0.1.0 371 5/20/2021

First version with basic endpoints implemented