Either the Node.js or Python code should work pretty well for you. It deals mainly with getting manufacturer data rather than service data, but you could swap the Puck over to advertise that pretty easily or you could modify the code on the Pi - once you have something that gets advertisements from that link, tweaking it to read the service data field rather than the manufacturer one is nice and easy
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
For the RPi stuff, check out: http://www.espruino.com/Puck.js+Advertising
Either the Node.js or Python code should work pretty well for you. It deals mainly with getting manufacturer data rather than service data, but you could swap the Puck over to advertise that pretty easily or you could modify the code on the Pi - once you have something that gets advertisements from that link, tweaking it to read the service data field rather than the manufacturer one is nice and easy