From 19b158371240e2fc94ed90340f84b506f7f0a159 Mon Sep 17 00:00:00 2001 From: danu5 <50607758+danu5@users.noreply.github.com> Date: Fri, 12 Jul 2019 21:27:16 +1000 Subject: [PATCH] Clarified API requirement (#9839) Clarified the API key needed and simplified the stop finding method. The transport NSW API documentation wasn't super clear and it's easy to get lost in the OpenData portal. Hopefully this helps the next person. --- source/_components/transport_nsw.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/_components/transport_nsw.markdown b/source/_components/transport_nsw.markdown index f7ea7bade5d..b4e872263f7 100644 --- a/source/_components/transport_nsw.markdown +++ b/source/_components/transport_nsw.markdown @@ -14,9 +14,11 @@ The `transport_nsw` sensor will give you the time until the next departure from ## Setup -Prerequisite is a free API key from [Transport NSW](https://opendata.transport.nsw.gov.au/). +Prerequisite is a free API key from [Transport NSW](https://opendata.transport.nsw.gov.au/). You will need to register an account and then create a new application. You will need to add the 'Trip Planner APIs' to your application. -In order to find your stop id, go to Google maps and click on any bus/train/ferry stop. The pop up window shows the stop ID underneath the station name. For train stations the easist way to get a stop id for a platform is through [Transport NSW Info](https://transportnsw.info/). +In order to find your stop id, use the [Transport NSW stop finder](https://transportnsw.info/stop#/) and search for your stop. The URL will contain the stop id as a number. + +You may also try going to Google maps and clicking on any bus/train/ferry stop. The pop up window shows the stop ID underneath the station name. For train stations the easist way to get a stop id for a platform is through [Transport NSW Info](https://transportnsw.info/). As a default the sensor picks up the next mode of transport leaving from a stop id.