Python SDK for accessing Dynamics APIs
Project description
Microsoft Dynamics 365 Business Central Python SDK
Python SDK for accessing Microsoft Dynamics 365 Business Central APIs.
Installation
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
Usage
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.
License
This project is licensed under the MIT License - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ms_dynamics_business_central_sdk-1.6.0.tar.gz
.
File metadata
- Download URL: ms_dynamics_business_central_sdk-1.6.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c250d1a4244f8b03c03ea0b1e8de90fcd25b06bdbd2d94c5555b6031efe0bd5 |
|
MD5 | 848169bf69ffb85890d1ecf2647b30a4 |
|
BLAKE2b-256 | dea79373c2ca38963a7cdcfbee76fd9e4491d253dc99a23dd03c0f339f8a5a95 |
File details
Details for the file ms_dynamics_business_central_sdk-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: ms_dynamics_business_central_sdk-1.6.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26df8e3e6f9bde82d19cc7690ccd052817ea57f080747c61494caf0076a4f698 |
|
MD5 | 0c97527a418ed6b49fa2bd08f2509164 |
|
BLAKE2b-256 | d85cccc4e32b3c9849ed59d84345ef5b0a48ef9e87e956e301f562736ff0bedb |