Python SDK for accessing Microsoft Dynamics 365 Business Central APIs.
The project is under active development, so contracts can change.
This project requires Python 3+ and Requests library (pip install requests).
-
Download this project and use it (copy it in your project, etc).
-
Install it from pip.
$ pip install ms-dynamics-business-central-sdk
To use this SDK you'll need these Dynamics credentials
This SDK is very easy to use.
- First you'll need to create a connection using the main class Dynamics.
dynamics = Dynamics(
client_id='<secret>',
client_secret='<secret>',
environment='sandbox',
refresh_token='<refresh_token>'
)
company_id = dynamics.companies.get_all()[0]['id']
dynamics = Dynamics(
client_id='<secret>',
client_secret='<secret>',
environment='sandbox',
refresh_token='<refresh_token>',
company_id=company_id
)
vendors = connection.vendors.get_all()
See more details about the usage into the wiki pages of this project.
This project is licensed under the MIT License - see the LICENSE file for details