Module Web Services API REST (developer): Difference between revisions

Jump to navigation Jump to search
m
inserted link to Dolibarrpy and put year numbers after all 3 modules with the latest release.
(Add Chinese)
Tag: 2017 source edit
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/ and https://pypi.org/project/dolibarr/
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>
<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>
</syntaxhighlight>


=Develop your own service / API=
=Develop your own service / API=

Navigation menu