The following journey planner modes are not recognised: train

APIs: Details - Transport for London - API says that “train” one of the modes…

image

But this fails

image

Because, quickly looking at https://api.tfl.gov.uk/Journey/Meta/Modes shows that “train” isn’t a mode (see also “public-bus”).

Any chance the docs could reflect a working list of modes.

Thanks.

Yes, public-bus should be bus, train should be national-rail
Also cablecar (cable-car), river (river-bus, river-tour)
Missing cycle-hire, elizabeth-line, interchange-keep-sitting, interchange-secure, replacement-bus, taxi

2 Likes