# 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="https://1722507258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tTe7YNQtbpNi3ve2r6s%2Fuploads%2FEL0fB7f2ymDleHltdzoB%2Fcurie-2.jpg?alt=media&#x26;token=9e84cdfe-6f60-49b1-94d1-301b44b13868">curie-2.jpg</a></td><td><a href="code-usage/consentiumthings-python-api">consentiumthings-python-api</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="https://1722507258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tTe7YNQtbpNi3ve2r6s%2Fuploads%2FuoETKI1LsJu8OJVWaAhh%2Fcurie-3.jpg?alt=media&#x26;token=ec9cabeb-70f8-47e7-a8ba-60ea61be98a6">curie-3.jpg</a></td><td><a href="code-usage/consentiumthings-arduino-api">consentiumthings-arduino-api</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="https://1722507258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tTe7YNQtbpNi3ve2r6s%2Fuploads%2FNG9SYNv4Czc2YQj9pPVz%2Fcurie-1.jpg?alt=media&#x26;token=d5c1c022-bd27-46b1-8c81-1fe5534721d9">curie-1.jpg</a></td><td><a href="code-usage/consentiumthings-arduino-data-receiver-api">consentiumthings-arduino-data-receiver-api</a></td></tr></tbody></table>
