python-fattureincloud
A python wrapper for the FattureInCloud REST API.
📦 Installation
Change directory and create a new project as in this example:
$ pip install python-fattureincloud
🔑 API Credentials
The FattureInCloudAPI needs api_uid and api_key parameters to make requests.
from fattureincloud.client import FattureInCloudAPI
client = FattureInCloudAPI(
api_uid="your_api_uid",
api_key="your_api_key"
)
🚀️ Usage
At the moment, only method to read information are implemented.
Every model has list method with different parameter to filter results.
For each model there is a set of methods to get a specific element.
⚫ Anagrafica
# Get all customers
customers = client.clienti().lista()
# Get all suppliers
suppliers = client.fornitori().lista()
⚫ Prodotti
# Get all products
customers = client.prodotti().lista()
⚫ Documenti
The following example show how you can get all invoices. But you can use all the following document types: fatture, proforma, ordini, preventivi, ndc, ricevute, ddt.
# Get all documents
invoices = client.fatture().lista()
invoice_details = client.fatture.dettagli(
_id="invoice_id",
token="invoice_token"
)
info = clienti.fatture.info(anno_competenza=2021)
invoice_infomail = client.fatture.infomail(
_id="invoice_id",
token="invoice_token"
)
⚫ Acquisti
# Get all purchases
acquisti = client.acquisti.lista()
acquisti_details = client.acquisti.dettagli(
_id="acquisti_id"
)
⚫ Corrispettivi
# Get all payments
corrispettivi = client.corrispettivi.lista()
⚫ Magazzino
# Get all merchandise
arrivimerce = client.arrivimerce.lista()
arrivimerce_details = client.arrivimerce.dettagli(
_id="arrivimerce_id"
)
# Get all mails
mail = client.mail.lista()
Metadata
Release files for python-fattureincloud 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-fattureincloud-0.0.1.tar.gz | 7.0 kB | Without provenance | Details for python-fattureincloud-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_fattureincloud-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for python_fattureincloud-0.0.1-py3-none-any.whl |
Total release size: 17.1 kB
Release files / python-fattureincloud-0.0.1.tar.gz
| Download URL | python-fattureincloud-0.0.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ceb7ecbaf8c3bf2483379eb7147c946b326e55418d94968fee5bd73cd6d9939
|
|
BLAKE2b-256 checksum How to use checksums |
a649558db76fb9b9452b3157eb49b3e83f402b321382687c2ce34c7730d90e99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / python_fattureincloud-0.0.1-py3-none-any.whl
| Download URL | python_fattureincloud-0.0.1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
852ad7b54363b4b657e78ea07501b8d421e4a23c4de319f5c680f74703b054ff
|
|
BLAKE2b-256 checksum How to use checksums |
bc6a66e3db86530469fa5f7ec620c07e2eab5fe512fb78a947e5157ebc00835f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for python-fattureincloud 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.