Go South Coast is a provider of bus services in southern England. They are an umbrella company that runs bus services including:
- Bluestar
- Morebus
- Southern Vectis
- …
Each bus company appears to use the same web infastructure, though I’ve only tested my code with Bluestar (used every day) and Southern Vectis.
It is configured through YAML only at present. For each bus stop configured a sensor is created which returns the number of minutes until the next bus will arrive. It is also possible to filter out all but the interested bus service. Attributes are also populated listing the times of the next moving, and stationary, busses. The data is web scraped since no handy API is provided. Nonetheless, I’ve been running this for a few months now to good effect.
https://github.com/aslak3/go_south_coast
Any and all feedback is of course welcome! Note that this is my first Python project.