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

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 423: Line 423:
Then you can install the python-module with "pip install dolibarr".
Then you can install the python-module with "pip install dolibarr".


<syntaxhighlight lang="python">
<br />
  from dolibarr import Dolibarr
  from dolibarr import Dolibarr


  api_url = 'http://your-url<nowiki/>/dolibarr/htdocs/api/index.php/'
  api_url = '<nowiki>http://your-url/dolibarr/htdocs/api/index.php/'</nowiki>
  api_key = 'custom_API-Key'
  api_key = 'custom_API-Key'


5

edits

Navigation menu