Search barcode for members


Situation: a gym has members. The members have a card with a barcode that they scan to get access to the gym.

Is there a way to read the barcode, search the database to see if the person scanning has a membership and unlock the turnstile if the person has a valid membership?

If yes, how? I’m guessing there should be some kind of communication between the scanner and the web app.

Thank you in advance!

Did you check if it is possible to connect with the machine scanner provider API?