Skip to main content

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).

  1. Download this project and use it (copy it in your project, etc).

  2. 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.

  1. 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

Metadata

Release files for ms-dynamics-business-central-sdk 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ms-dynamics-business-central-sdk 1.7.0
File Size Uploaded
ms_dynamics_business_central_sdk-1.7.0.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ms-dynamics-business-central-sdk 1.7.0
File Interpreter ABI Platform
ms_dynamics_business_central_sdk-1.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.9 kB

Release files / ms_dynamics_business_central_sdk-1.7.0.tar.gz

Download URL ms_dynamics_business_central_sdk-1.7.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
649686993620ad2da4150962b62c7001ed4b04a662deef7bb625942cedab7e9c
BLAKE2b-256 checksum
How to use checksums
1f25faf662e27a1384f7ce0338e881c51f58d5b61d88f33675f3f6c7e2df564f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / ms_dynamics_business_central_sdk-1.7.0-py3-none-any.whl

Download URL ms_dynamics_business_central_sdk-1.7.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
506860245174b1c83fe74eb81197938e088c50da45665280e17451187f87c8c6
BLAKE2b-256 checksum
How to use checksums
ac532a9e3e90cf30b6f024a67ef9e46bdd219db939a135e72f4daad931bc365c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.7.0 This release

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page