When is the next K3?

If I’m going into London, or getting the train into work, the K3 bus is my starting point to get to Surbiton Station. I wanted to see if I could use the TFL Transport API to find out when the next bus was arriving.

I set up a simple Python script on a Raspberry Pi Zero to poll the API every minute, using the NAPTAN code for the Manor Road South stop, going towards Roehampton Vale.