Lost in xibo (use of a barcode reader)

Hi

In one hand i have a barcode reader (i can read code in php) in the other hand xibo cms and change layout api
I can’t go further i know its not the code wicht is important but i would like first to see this code in a layout to understand the use of this api (may i create an another one ?)
Can somebody give me a hand ?