adding example of basic pvapi usage