More Transitous

2024-11-10

A couple of months ago I tried adding the Metro Christchurch feeds to the Transitous project, but didn’t know a way to pass through an API key, which the Christchurch Metro API requires in order to fetch API keys.

After a friend told me he was going to Christchurch over the summer (good luck mate), this reminded me of my issues with getting Transitous working with the Metro Christchurch API. This lead me to reading through other countries’ json files to try and figure out if there was a way to pass an API key through, and lo and behold, someone had already done just that.

It turns out that the http-options passed in the feed json can also apply to the transitland-atlas type of remote feed, which wasn’t documented at all, so I spun up two pull requests, one to finally add Metro Christchurch to the Transitous, and the other to add an example of using an API key with a transitland feed in the documentation.

I also (just today) found feeds for BUSIT and Baybus in the transitland repository, so those have also been added into Transitous.

This brings the total of NZ’s public transport providers supported by Transitous up to six, with the remaining ones either not having any third-party developer access, so I will be putting out some emails in the future in order to try and get GTFS feeds.

Remaining Buses

These are the current PT bus services that I know of in NZ (feel free to reach out to me if I’ve missed any!).

  • Intercity
  • Invercargill buses
  • Horizons Council buses (Whanganui, Palmerston North)
  • Citylink Whangārei
  • Nelson-Tasman buses
  • Hawke’s bay (goBay) buses
  • Marlborough buses
  • Gisborne buses

Enter your instance's address