How do you load custom scripts from another rasberry pi, is that possible?

I saw this and would like to implement it on a separate pi, would it be possible to get values from it or should i load it on my home-assistant pi so that i can create another python script to gather beer data? https://www.reddit.com/r/Homebrewing/comments/a424px/kegerator_accepts_cryptocurrency_gotta_pay_up_to/