API Usage Examples
github.com/corellium/avh-api/ repository provides examples for using AVH API via Python and Javascript clients.
Python Examples
The following Python examples are provided in python/examples/ directory of the repo, both for asynchronous (folder async/) and synchronous (folder /sync/) :
instance_create_snapshot_delete.py
- This example demonstrates creating an STM32U5 device, taking a snapshot and then deleting it.
stm32_bsp_test.py
- This example demonstrates using GPIO input/output of a virtual machine
create_github_runner.py
- This example demonstrates using GPIO input/output of a virtual machine
Javascript Examples
The JavaScript examples are provided in javascript/examples/ directory as follows:
sensordemo-docker
- This example will execute a build on your runner and create a new device on AVH to test the output of the build on.
sensordemo-generate-api