Higrow.FattureInCloud.Net
0.9.14.5
dotnet add package Higrow.FattureInCloud.Net --version 0.9.14.5
NuGet\Install-Package Higrow.FattureInCloud.Net -Version 0.9.14.5
<PackageReference Include="Higrow.FattureInCloud.Net" Version="0.9.14.5" />
paket add Higrow.FattureInCloud.Net --version 0.9.14.5
#r "nuget: Higrow.FattureInCloud.Net, 0.9.14.5"
// Install Higrow.FattureInCloud.Net as a Cake Addin
#addin nuget:?package=Higrow.FattureInCloud.Net&version=0.9.14.5
// Install Higrow.FattureInCloud.Net as a Cake Tool
#tool nuget:?package=Higrow.FattureInCloud.Net&version=0.9.14.5
Higrow.FattureInCloud.Net
NEW 13/02/2021 .NET 5 support
This is an unofficial implementation of the Fatture in Cloud Api targeting multiple .NET frameworks:
.NET Core 2.1
.NET Core 2.2
.NET Core 3.1
.NET Standard 2.0
.NET Standard 2.1
.NET 5
The package is based on the /v1 API version 0.9.14 https://api.fattureincloud.it/v1/documentation/dist/
Information
We are integrating the whole app and the DTOs, hereafter the list of implemented services
- [x] Anagrafica
- [x] Prodotti
- [x] Documenti
- [x] Acquisti
- [x] Corrispettivi
- [x] Magazzino
- [x] Mail
- [x] Info
Installation
Nuget
Windows
Install-Package Higrow.FattureInCloud.Net -Version 0.9.14.5
Linux/MacOsx
dotnet add package Higrow.FattureInCloud.Net --version 0.9.14.5
Setup
Endpoints are split in services in the Higrow.FattureInCloud.Net.Services as follow:
- AnagraficaService
- ProdottiService
- DocumentiService
- AcquistiService
- InfoService
- CorrispettiviService
- MagazzinoService
- MailService
To start using a Service you should enter your FattureInCloud api_uid and api_key, please go here to get yours https://secure.fattureincloud.it/api
Includes
include Higrow.FattureInCloud.Net.Services
include Higrow.FattureInCloud.Net.DTO
include Higrow.FattureInCloud.Net.Constants
Create a service
AnagraficaService service = new AnagraficaService();
service.SetKeys("your_api_uid","your_api_key");
All Request and Response DTO have been mapped, exploring the service method you can easily build your queries and get.
Example
//the library does not manage exception, don't forget to surrond with try catch
try
{
AnagraficaListaResult result = await service.Lista(Soggetto.CLIENTI, new AnagraficaListaRequest(){});
}
catch (Exception ex)
{
//manage exception
Console.WriteLine(ex.Message);
Console.WriteLine(await service.LastResponse?.Content.ReadAsStringAsync()); //service.LastResponse contains the LastResponse, might be null if errors happened before any possible response
}
Issues
Please feel free to report issues on the project GitHub page
Donations
I don't need money honestly, but should be happy to donate something because you feel it, than you can send them over my PayPal
Thumbs up and comments are always welcome and more than sufficient 😉
Product | Versions 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- Newtonsoft.Json (>= 12.0.2)
- System.Configuration.ConfigurationManager (>= 4.6.0)
-
.NETCoreApp 2.2
- Newtonsoft.Json (>= 12.0.2)
- System.Configuration.ConfigurationManager (>= 4.6.0)
-
.NETCoreApp 3.0
- Newtonsoft.Json (>= 12.0.2)
- System.Configuration.ConfigurationManager (>= 4.6.0)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.2)
- System.Configuration.ConfigurationManager (>= 4.6.0)
-
net5.0
- Newtonsoft.Json (>= 12.0.2)
- System.Configuration.ConfigurationManager (>= 4.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.