HowdyBarber: A scripting way to check my barber’s availability

I don’t go to a really fancy barbershop to get my hair cut, but my current barber’s schedule filled up so quickly that I have to check regularly to make appointments. I really don’t want to waste my time on opening tabs in chrome and login to check their schedule one by one. I came up with a few options to do the checking. Use a headless library like PhantomJS to acting as myself to do the clicking and parsing. (Worst Case) Use their public documented API to query for availability (Best Case) Somehow find out a way to get their availability feed from a third party (Doable but rely on the third party) My barber uses https://resurva.com/ as their booking system. The service is for barbers to manage their bookings. Browsing through the website, there is no documentations about any public API I could use. Option 2 is out. ...

October 12, 2015 · 3 min · Xinjiang Shao