24 lines
560 B
C#
24 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OemanTrader.FinantialModelingPrepAPI
|
|
{
|
|
public class FinancialModelingPrepHttpClientFactory
|
|
{
|
|
private readonly string _apiKey;
|
|
|
|
public FinancialModelingPrepHttpClientFactory(string apiKey)
|
|
{
|
|
_apiKey = apiKey;
|
|
}
|
|
|
|
public FinancialModelingPrepHttpClient CreateHttpClient()
|
|
{
|
|
return new FinancialModelingPrepHttpClient(_apiKey);
|
|
}
|
|
}
|
|
}
|