# 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+](https://www.python.org/downloads/) and [Requests](https://pypi.org/project/requests/) library (pip install requests).
1. Download this project and use it (copy it in your project, etc).
2. Install it from [pip](https://pypi.org).
$ 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.
```python
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](LICENSE) file for details
Raw data
{
"_id": null,
"home_page": "https://github.com/fylein/ms-dynamics-business-central-sdk-py",
"name": "ms-dynamics-business-central-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "dynamics, business-central, ms, ms-dynamics-business-central, fyle, api, python, sdk",
"author": "Shwetabh Kumar",
"author_email": "shwetabh.kumar@fyle.in",
"download_url": "https://files.pythonhosted.org/packages/de/a7/9373c2ca38963a7cdcfbee76fd9e4491d253dc99a23dd03c0f339f8a5a95/ms_dynamics_business_central_sdk-1.6.0.tar.gz",
"platform": null,
"description": "# Microsoft Dynamics 365 Business Central Python SDK\n\nPython SDK for accessing Microsoft Dynamics 365 Business Central APIs.\n\n## Installation\n\nThe project is under active development, so contracts can change.\n\nThis project requires [Python 3+](https://www.python.org/downloads/) and [Requests](https://pypi.org/project/requests/) library (pip install requests).\n\n1. Download this project and use it (copy it in your project, etc).\n2. Install it from [pip](https://pypi.org).\n \n $ pip install ms-dynamics-business-central-sdk\n\n## Usage\n\nTo use this SDK you'll need these Dynamics credentials\n\nThis SDK is very easy to use.\n1. First you'll need to create a connection using the main class Dynamics.\n```python\ndynamics = Dynamics(\n client_id='<secret>',\n client_secret='<secret>',\n environment='sandbox',\n refresh_token='<refresh_token>'\n)\n\ncompany_id = dynamics.companies.get_all()[0]['id']\n\ndynamics = Dynamics(\n client_id='<secret>',\n client_secret='<secret>',\n environment='sandbox',\n refresh_token='<refresh_token>',\n company_id=company_id\n)\n\nvendors = connection.vendors.get_all()\n```\n\n\nSee more details about the usage into the wiki pages of this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python SDK for accessing Dynamics APIs",
"version": "1.6.0",
"project_urls": {
"Homepage": "https://github.com/fylein/ms-dynamics-business-central-sdk-py"
},
"split_keywords": [
"dynamics",
" business-central",
" ms",
" ms-dynamics-business-central",
" fyle",
" api",
" python",
" sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d85cccc4e32b3c9849ed59d84345ef5b0a48ef9e87e956e301f562736ff0bedb",
"md5": "0c97527a418ed6b49fa2bd08f2509164",
"sha256": "26df8e3e6f9bde82d19cc7690ccd052817ea57f080747c61494caf0076a4f698"
},
"downloads": -1,
"filename": "ms_dynamics_business_central_sdk-1.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0c97527a418ed6b49fa2bd08f2509164",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15249,
"upload_time": "2024-11-15T07:06:11",
"upload_time_iso_8601": "2024-11-15T07:06:11.596701Z",
"url": "https://files.pythonhosted.org/packages/d8/5c/ccc4e32b3c9849ed59d84345ef5b0a48ef9e87e956e301f562736ff0bedb/ms_dynamics_business_central_sdk-1.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dea79373c2ca38963a7cdcfbee76fd9e4491d253dc99a23dd03c0f339f8a5a95",
"md5": "848169bf69ffb85890d1ecf2647b30a4",
"sha256": "6c250d1a4244f8b03c03ea0b1e8de90fcd25b06bdbd2d94c5555b6031efe0bd5"
},
"downloads": -1,
"filename": "ms_dynamics_business_central_sdk-1.6.0.tar.gz",
"has_sig": false,
"md5_digest": "848169bf69ffb85890d1ecf2647b30a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9983,
"upload_time": "2024-11-15T07:06:12",
"upload_time_iso_8601": "2024-11-15T07:06:12.513606Z",
"url": "https://files.pythonhosted.org/packages/de/a7/9373c2ca38963a7cdcfbee76fd9e4491d253dc99a23dd03c0f339f8a5a95/ms_dynamics_business_central_sdk-1.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-15 07:06:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fylein",
"github_project": "ms-dynamics-business-central-sdk-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ms-dynamics-business-central-sdk"
}