Creating static getRoutes() API for TransitData service.