d365-0.1.1
توضیحات
A python library to make Dynamics 365 integrations easier
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | d365-0.1.1 |
| نام | d365 |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dyvision |
| ایمیل نویسنده | the.dyvision@gmail.com |
| آدرس صفحه اصلی | https://github.com/dyvision/d365-py |
| آدرس اینترنتی | https://pypi.org/project/d365/ |
| مجوز | MIT |
# D365-PY
A nice tool to make accessing your Dynamics 365 API easier. Use in conjunction with a webserver such as Flask
## Install
> pip install d365
## Examples
>from d365 import *
>
>#initializes connection
>
>d = d365(
> 'cooldomain.crm.dynamics.com',
> 'clientidfromazure',
> 'clientsecretfromazure',
> 'redirectthatyouapprovedinazure'
> )
>
>#returns authorization url
>
>d.authorize()
>
>#returns token data using authorization code
>
>d.authenticate('codeprovidedbytheredirect')
>
>#returns token data using refresh token
>
>d.refresh('refreshtokenprovidedbyauthenticatefunction')
>
>#lists records with a possible query string
>
>d.list('accounts','?\$top=10&$select=name')
>
>#gets specific record
>
>d.get('accounts','56959192-354e-eb11-a813-000d3a1026fe')
>
>#creates a record
>
>d.create('contacts',{'lastname':'thisisatest'})
>
>#updates a record
>
>d.update('contacts','6e1900e0-ac03-ed11-82e4-000d3a124166',{'firstname':'cool'})
>
>#deletes a record
>
>d.delete('contacts','6e1900e0-ac03-ed11-82e4-000d3a124166')
## More Info on How to Use the Dynamics 365 API
https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/mt607689(v=crm.8)
نحوه نصب
نصب پکیج whl d365-0.1.1:
pip install d365-0.1.1.whl
نصب پکیج tar.gz d365-0.1.1:
pip install d365-0.1.1.tar.gz