Check out the examples directory in github for sample code.
Eg.
See the examples README.md for how to run.