5
edits
(Add Chinese) Tag: 2017 source edit |
Jonbendtsen (talk | contribs) m (inserted link to Dolibarrpy and put year numbers after all 3 modules with the latest release.) |
||
| Line 414: | Line 414: | ||
=Examples with Python= | =Examples with Python= | ||
See https://pypi.org/project/dolipy/ | See https://pypi.org/project/dolipy/ (2021) or https://pypi.org/project/dolibarr/ (2019) or https://pypi.org/project/dolibarrpy/ (2024) | ||
First you can install the python-module with "pip install dolibarr" | First you can install the python-module with "pip install dolibarr" or pypi install dolibarrpy | ||
< | <syntaxhighlight lang="python"> | ||
from dolibarr import Dolibarr | from dolibarr import Dolibarr | ||
| Line 442: | Line 442: | ||
product_dict = dolibarr_inst.call_list_api('products') | product_dict = dolibarr_inst.call_list_api('products') | ||
print(product_dict) | print(product_dict) | ||
</ | </syntaxhighlight> | ||
=Develop your own service / API= | =Develop your own service / API= | ||
edits