Skip to content
This repository has been 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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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