These code samples do not utilize Pydevice. For more information on Pydevice, please visit this article.
All of these samples require adjustments to the Python code to include your organization's API key and a few other details depending on the sample.
Requirements - Requests
Versions - Python 3.6.3, Requests 2.18.4
As with any code sample, please realize this is not production-quality and is for instructional purposes only.
Device Magic Database
This is a Python sample showing how to view, download, create, update, and destroy Resources via the Device Magic API. The sample utilizes the Services Agreement PDF, which can be downloaded here.