example updated on readme, added some indications for the api