{"id":17172880,"url":"https://github.com/20tab/python-fattureincloud","last_synced_at":"2025-03-24T20:22:50.026Z","repository":{"id":52895005,"uuid":"356409571","full_name":"20tab/python-fattureincloud","owner":"20tab","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-14T21:23:18.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-05T19:42:49.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/20tab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-09T22:10:34.000Z","updated_at":"2023-07-19T13:20:49.000Z","dependencies_parsed_at":"2022-08-23T13:21:34.916Z","dependency_job_id":null,"html_url":"https://github.com/20tab/python-fattureincloud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Fpython-fattureincloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Fpython-fattureincloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Fpython-fattureincloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Fpython-fattureincloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20tab","download_url":"https://codeload.github.com/20tab/python-fattureincloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344431,"owners_count":20599946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:48:35.035Z","updated_at":"2025-03-24T20:22:49.992Z","avatar_url":"https://github.com/20tab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-fattureincloud\n\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n[![Python package](https://github.com/20tab/python-fattureincloud/actions/workflows/python-package.yml/badge.svg)](https://github.com/20tab/python-fattureincloud/actions/workflows/python-package.yml)\n[![codecov](https://codecov.io/gh/20tab/python-fattureincloud/branch/main/graph/badge.svg?token=A229TF8PLG)](https://codecov.io/gh/20tab/python-fattureincloud)\n\n\u003e A python wrapper for the [FattureInCloud REST API](https://api.fattureincloud.it/v1/documentation/dist/).\n\n\u003c!-- ## 📝 Conventions --\u003e\n\n\n## 📦 Installation\n\nChange directory and create a new project as in this example:\n\n```console\n$ pip install python-fattureincloud\n```\n\n## 🔑 API Credentials\n\nThe `FattureInCloudAPI` needs `api_uid` and `api_key` parameters to make requests.\n\n```python\nfrom fattureincloud.client import FattureInCloudAPI\n\n\nclient = FattureInCloudAPI(\n    api_uid=\"your_api_uid\", \n    api_key=\"your_api_key\"\n)\n```\n\n## 🚀️ Usage\n\nAt the moment, only method to read information are implemented.\nEvery model has `list` method with different parameter to filter results.\n\nFor each model there is a set of methods to get a specific element.\n\n### ⚫ Anagrafica\n\n```python\n# Get all customers \ncustomers = client.clienti().lista()\n\n# Get all suppliers\nsuppliers = client.fornitori().lista()\n```\n\n### ⚫ Prodotti\n\n```python\n# Get all products \ncustomers = client.prodotti().lista()\n```\n\n### ⚫ Documenti\n\nThe 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`.\n\n```python\n# Get all documents \ninvoices = client.fatture().lista()\n\ninvoice_details = client.fatture.dettagli(\n    _id=\"invoice_id\", \n    token=\"invoice_token\"\n)\n\ninfo = clienti.fatture.info(anno_competenza=2021)\n\ninvoice_infomail = client.fatture.infomail(\n    _id=\"invoice_id\", \n    token=\"invoice_token\"\n)\n```\n\n### ⚫ Acquisti\n\n```python\n# Get all purchases \nacquisti = client.acquisti.lista()\n\nacquisti_details = client.acquisti.dettagli(\n    _id=\"acquisti_id\"\n)\n```\n\n### ⚫ Corrispettivi\n\n```python\n# Get all payments \ncorrispettivi = client.corrispettivi.lista()\n```\n\n### ⚫ Magazzino\n\n```python\n# Get all merchandise \narrivimerce = client.arrivimerce.lista()\n\narrivimerce_details = client.arrivimerce.dettagli(\n    _id=\"arrivimerce_id\"\n)\n```\n\n### ⚫ Mail\n\n```python\n# Get all mails \nmail = client.mail.lista()\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Fpython-fattureincloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20tab%2Fpython-fattureincloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Fpython-fattureincloud/lists"}