Examples
The following examples show you how to use the emnify Python SDK.
The source code for each example is available in the emnify-sdk-python GitHub repository.
| Example | Description |
|---|---|
| Get your first device online | Connect an emnify SIM to your device and configure the APN to access the internet. |
| Initialize the SDK client | Import dependencies and initialize the SDK using an application token. |
| Create and activate a device | Assign an unassigned SIM, create a new device with defined parameters, and activate it. |
| Configure a device | Retrieve a device's details and adjust its attributes, like the name and tags. |
| Configure the operator blacklist | Add or remove operators from the blacklist. |
| Disable a device | Change a device status to disabled. |
| Delete a device | Disable and delete a device with specific ID. |
| Filter a list of SIM cards | Return all SIMs for a specific customer organization. |
| Sort all devices | Return a list of devices sorted by last updated date. |
| Manage device connectivity | Reset the device or network connectivity and check the connectivity status. |