Skip to content

Tutorials

Welcome to the Dracal device service tutorials. These hands-on guides will help you get started with integrating Dracal devices into your applications using the REST JSON API.

Overview

The tutorials provide practical, working examples that demonstrate how to:

  • Connect to the Dracal device service
  • Query service information and status
  • Discover connected devices
  • Retrieve sensor readings and measurements
  • Parse JSON responses

Each tutorial is self-contained and includes complete source code that you can compile and run immediately.

Python tutorials

Python tutorials are ideal for rapid prototyping, data analysis, and automation scripts. They use the requests library for HTTP communication and include examples for data processing and visualization.

View latest Python tutorials →

What you'll learn:

  • Making HTTP requests to the REST API
  • Parsing JSON responses with Python's built-in tools
  • Working with sensor data in Python

Prerequisites:

  • Python 3.6 or higher
  • pip package manager
  • Basic Python programming knowledge

C++ tutorials

C++ tutorials are perfect for performance-critical applications, embedded systems, and native desktop applications. They demonstrate low-level HTTP communication and efficient JSON parsing.

View latest C++ tutorials →

What you'll learn:

  • Making HTTP requests using libhv
  • Parsing JSON with modern C++ libraries
  • Working with sensor data in C++

Prerequisites:

  • C++ compiler with C++11 support
  • CMake 3.15 or higher
  • Basic C++ programming knowledge

Use the navigation menu on the left to explore the full documentation.