This provides a simple python library to determine if it is 'taps aff' or 'taps oan' for a specified location using Colin Waddell's www.taps-aff.co.uk service.
https://github.com/ColinWaddell/tapsaff
pip install tapsaff
location
can be a UK postcode or city.
TapsAff(location)
is_taps_aff # True if taps aff for this location
from tapsaff import TapsAff
glasgow = TapsAff("Glasgow")
print(glasgow.is_taps_aff)