Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

yi-jiayu/bus-eta-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3f0d21f · May 26, 2020
Feb 1, 2019
Feb 10, 2019
Jan 28, 2019
Feb 2, 2020
Jan 30, 2019
May 26, 2017
Feb 2, 2020
Jan 21, 2019
Feb 9, 2019
Mar 14, 2020
Feb 9, 2019
May 27, 2017
Feb 4, 2019
Feb 1, 2019
Jun 4, 2019
May 28, 2017
May 27, 2017
May 26, 2020
Jan 16, 2019
Jan 16, 2019
Feb 10, 2019
Feb 10, 2019
Jun 4, 2019
Feb 4, 2019
Jan 16, 2019
Mar 14, 2020
Mar 14, 2020
May 28, 2017
Mar 14, 2020
Feb 10, 2019
Feb 10, 2019
Jan 31, 2019
Jan 17, 2019
Mar 14, 2020
Mar 14, 2020
Jan 21, 2019
Mar 14, 2020
Mar 14, 2020
Jan 26, 2019
Jan 26, 2019
Feb 4, 2019
Feb 4, 2019
Jan 17, 2019
Jan 16, 2019
Mar 14, 2020
Mar 14, 2020
Mar 14, 2020
Mar 14, 2020
Feb 9, 2019
Jan 16, 2019
Jan 25, 2019
Jun 4, 2019
Jan 31, 2019
Jan 16, 2019

Repository files navigation

The code in this repository is no longer in production

Bus Eta Bot the Telegram bot is still around, but is now powered by a new backend which can be found at https://github.com/yi-jiayu/bete.

Bus Eta Bot

Weekly Users Build Status CircleCI codecov Go Report Card

A practical Telegram bot for getting bus etas in Singapore supporting refreshing, bus stop search and showing nearby bus stops.

Getting started

Telegram: @BusEtaBot

Features

Get etas by bus stop code

Etas by bus stop code

Get etas by bus stop code and service

Etas by bus stop code and service

Send a location to get nearby bus stops

Looking up nearby bus stops

Search bus stops by bus stop code, description or road name

Searching bus stops

Get nearby bus stops

Location-based inline query

Send etas as inline messages

Inline message

Updating bus stop data

From the scripts directory:

# remove datamall.sqlite if it exists
# rm datamall.sqlite
./create_db.sh
./create_bus_stops_json.py > ../data/bus_stops.json