> For the complete documentation index, see [llms.txt](https://docs.consentiumiot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.consentiumiot.com/code-usage.md).

# Code usage

## Code Usage Overview

Welcome to the Consentium IoT code usage guide! This section provides an overview of how to implement various APIs and development environments for Consentium IoT-enabled devices.

### Available APIs

#### 1. **ConsentiumThings Python API**

Learn how to use the ConsentiumThings Python API for interacting with Consentium IoT devices, including sensor data handling and device management.

#### 2. **ConsentiumThings Arduino API**

Get started with the ConsentiumThings Arduino API for seamless integration with Arduino-based hardware. This section also covers how to perform over-the-air (OTA) updates for Consentium IoT devices.

#### 3. **Arduino Data Receiver API**

Understand how to implement the data receiver API for ConsentiumThings to manage and handle incoming data from your IoT devices.

### Tutorials and Setup

#### - Adding NodeMCU Support to Arduino IDE

Step-by-step instructions to add support for NodeMCU devices within the Arduino IDE.

#### - Adding ESP32 Support to Arduino IDE

Learn how to set up the ESP32 board support in your Arduino IDE to start programming Consentium IoT devices based on this platform.

***

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Consentium Python API</strong> </td><td>Find support for Consentium's Python API. </td><td></td><td><a href="/files/hAEnQQQq0XsBltJd713R">/files/hAEnQQQq0XsBltJd713R</a></td><td><a href="/pages/UaWPtaBTOjOPnHwkGuBS">/pages/UaWPtaBTOjOPnHwkGuBS</a></td></tr><tr><td><strong>Consentium Arduino sending API</strong> </td><td>Find support for Consentium's Arduino API to send sensor data to cloud.</td><td></td><td><a href="/files/acuax6LyO7HJ6bX5UMuu">/files/acuax6LyO7HJ6bX5UMuu</a></td><td><a href="/pages/m3t7YPkd7g0gAnhl8RCe">/pages/m3t7YPkd7g0gAnhl8RCe</a></td></tr><tr><td><strong>Consentium Arduino receiving API</strong> </td><td>Find support for Consentium's Arduino API to receive sensor data from cloud.</td><td></td><td><a href="/files/6LXLfvhjdaSSO80bpQxD">/files/6LXLfvhjdaSSO80bpQxD</a></td><td><a href="/pages/kzKYpx63oQTKmgja8mFL">/pages/kzKYpx63oQTKmgja8mFL</a></td></tr></tbody></table>
