API Client for InvoiceXpress API
Package | Build Status | Nuget |
---|---|---|
InvoiceXpress.ApiClient | ||
InvoiceXpress.ApiClient.ASpNetCore |
IHttpClientFactory Patern
var apiKey = "<api-key>";
var apiUrl = "https://<api-url>";
services.AddInvoiceXpressClient(options =>
{
options.ApiKey = apiKey;
options.ApiBaseUrl = apiUrl;
});
Client Factory
var apiKey = "<api-key>";
var apiUrl = "https://<api-url>";
var invoiceClient = InvoiceXpressClientFactory.Create(apiUrl, apiKey, logger);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.