# 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": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"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/1a/ae/81e12a0790e1fc4ac50e29dc112180c9ce5e29420f605d6652c17d791e31/ms-dynamics-business-central-sdk-1.4.2.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.4.2",
"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": "d25e91e99a36988688d2b0dea7ec83b8769eebdf7b3f8c37e3bed0c341e13838",
"md5": "796b6250a8bfded2e3e89b9c84cbbeff",
"sha256": "dcb27d44bda980608468cb173db39ca1a8f3efa4ca1c515a42455c5dbbfaefa7"
},
"downloads": -1,
"filename": "ms_dynamics_business_central_sdk-1.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "796b6250a8bfded2e3e89b9c84cbbeff",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 13435,
"upload_time": "2024-02-08T07:58:36",
"upload_time_iso_8601": "2024-02-08T07:58:36.363327Z",
"url": "https://files.pythonhosted.org/packages/d2/5e/91e99a36988688d2b0dea7ec83b8769eebdf7b3f8c37e3bed0c341e13838/ms_dynamics_business_central_sdk-1.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1aae81e12a0790e1fc4ac50e29dc112180c9ce5e29420f605d6652c17d791e31",
"md5": "e95756fed53eda494be7b955ea121625",
"sha256": "98b9bf8e66db3dfb36381d9bed573dbec8bd9308869423175c8242f4b89cc4a5"
},
"downloads": -1,
"filename": "ms-dynamics-business-central-sdk-1.4.2.tar.gz",
"has_sig": false,
"md5_digest": "e95756fed53eda494be7b955ea121625",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9038,
"upload_time": "2024-02-08T07:58:38",
"upload_time_iso_8601": "2024-02-08T07:58:38.018810Z",
"url": "https://files.pythonhosted.org/packages/1a/ae/81e12a0790e1fc4ac50e29dc112180c9ce5e29420f605d6652c17d791e31/ms-dynamics-business-central-sdk-1.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-08 07:58:38",
"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"
}