Python, json, barcode scanner and LED clock in/out

I’ve been searching to find some sort of template to help get my project started. Basically barcode scanner reads ID looks in json file sees if the person is in or out then changes the status(in/out)in the json file then changes their LED position color based upon their status. The trouble I am having is the interfacing between all of the components. I am new to this so please be nice. Any help/advice will be very greatly appreciated.