This is an example for using the lava api using php