Skip to main content

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)

Metadata

Release files for d365 0.1.1

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

Source distribution (sdist)

Source distribution for d365 0.1.1
File Size Uploaded
d365-0.1.1.tar.gz 2.7 kB Details

Release files / d365-0.1.1.tar.gz

Download URL d365-0.1.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3a2e0b60f2bce95742d2a644bfcb5d3579998a62a78ff4049d224744e1623ab6
BLAKE2b-256 checksum
How to use checksums
2420ba6c2275bed7cd530a1bb6e64a53e86b9003c54b81525d15f294d8f22536
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

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