The best way to learn how to use OpenHA is through the tutorial. There are also a number of examples that show different aspects of the package, summarized and linked in the following sections.
In total, there are two simple examples in this packages showing how to use OpenHA.
The source code is available on Binder via example1 and example2.
There is also another simple example about how to process data.
All the source code is available on Binder.