PyTransportNSWv2 0.4.0
pip install PyTransportNSWv2 Copy PIP instructions
Released: May 28, 2024
Get detailed per-trip transport information from TransportNSW
![](http://spottech.site/777/templates/cheerup/res/banner1.gif)
Verified details
Maintainers.
Unverified details
Project links, github statistics.
- Open issues:
View statistics for this project via Libraries.io , or by using our public dataset on Google BigQuery
License: MIT License
Author: andystewart999
Classifiers
- OSI Approved :: MIT License
- OS Independent
- Python :: 3
- Software Development :: Libraries :: Python Modules
Project description
Transportnsw.
Python lib to access Transport NSW information.
Get an API Key
An OpenData account and API key is required to request the data. More information on how to create the free account can be found here: https://opendata.transport.nsw.gov.au/user-guide . You need to register an application that needs both the Trip Planner and Realtime Vehicle Positions APIs
Get the stop IDs
The function needs the stop IDs for the source and destination, and optionally how many minutes from now the departure should be, and if you want to filter trips by a specific transport type. The easiest way to get the stop ID is via https://transportnsw.info/stops#/ . It provides the option to search for either a location or a specific platform, bus stop or ferry wharf. Regardless of if you specify a general location for the origin or destination, the return information shows the stop_id for the actual arrival and destination platform, bus stop or ferry wharf.
If it's available, the general occupancy level and the latitude and longitude of the selected journey's vehicle (train, bus, etc) will be returned.
API Documentation
The source API details can be found here: https://opendata.transport.nsw.gov.au/sites/default/files/2023-08/Trip%20Planner%20API%20manual-opendataproduction%20v3.2.pdf
TransportNSW's trip planner can work better if you use the general location IDs (eg Central Station) rather than a specific Stop ID (eg Central Station, Platform 19) for the destination, depending on the transport type. Forcing a specific end destination sometimes results in much more complicated trips. Also note that the API expects (and returns) the Stop IDs as strings, although so far they all appear to be numeric.
transport_type filters
If you call the function with a transport_type filter and set strict_transport_type to True , only journeys whose first leg matches the desired filter will be considered. Otherwise the filter includes a journey if any of the legs includes the desired travel type.
raw_output simply returns the entire API response string as JSON, without making any changes to it.
Sample Code
The following example will return the next trip that starts from Pymble Station (207310) five minutes from now, to Gordon Station (207210). Note that specific platforms, such as Gordon Station, Platform 3 (207263) haven't been specified so any platform combination will be accepted:
Unless raw_output is True , the return output always returns an array of journeys, even if journeys_to_return is 1. The journey array is preceded by how many journeys were requested, and how many were actually returned that contained usable data:
Fun fact: TransportNSW's raw API output calls itself JSON, but it uses single quotes for strings in defiance of the JSON standards. When using this wrapper the output is formatted such that jq , for example, is happy with it.
- due: the time (in minutes) before the journey starts
- origin_stop_id: the specific departure stop id
- origin_name: the name of the departure location
- departure_time: the departure time, in UTC
- destination_stop_id: the specific destination stop id
- destination_name: the name of the destination location
- arrival_time: the planned arrival time at the origin, in UTC
- origin_transport_type: the type of transport, eg train, bus, ferry etc
- origin_transport_name: the full name of the transport provider
- origin_line_name & origin_line_name_short: the full and short names of the journey
- changes: how many transport changes are needed on the journey
- occupancy: how full the vehicle is, if available
- real_time_trip_id: the unique TransportNSW id for that specific journey, if available
- latitude & longitude: The location of the vehicle, if available
Please note that the origin and destination detail is just that - information about the first and last stops on the journey at the time the request was made. We don't return any intermediate steps, transport change types etc other than the total number of changes - the assumption is that you'll know the details of your specified trip, you just want to know when the next departure is. If you need much more detailed information then I recommend that you use the full Transport NSW trip planner website or application.
Thank you Dav0815 for your TransportNSW library that the vast majority of this fork is based on. I couldn't have done it without you! https://github.com/Dav0815/TransportNSW
Project details
Release history release notifications | rss feed.
May 28, 2024
May 21, 2024
May 20, 2024
May 17, 2024
Jun 28, 2020
0.2.3 yanked
Reason this release was yanked:
Found a fatal error
Jun 18, 2020
Jun 17, 2020
0.2.0 yanked
Jun 14, 2020
There's a typo in __init__.py that I haven't fixed yet.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages .
Source Distribution
Uploaded May 28, 2024 Source
Built Distribution
Uploaded May 28, 2024 Python 3
Hashes for pytransportnswv2-0.4.0.tar.gz
Hashes for pytransportnswv2-0.4.0-py3-none-any.whl.
- português (Brasil)
Supported by
![transport nsw trip planner api Open Net Zero logo](https://opennetzero.org/assets/images/onz-logo_dark.png)
Trip Planner APIs
Update frequency
Last updated.
7 months ago
api PDF CSV
Additional Information
The Opal Fare component of the Trip Planner /trip API is no longer supported 16 October 2023.
Trip Planner API Technical Documentation
Stop EFA ID to TSN Mapping Table
A mapping table of system derived EFA stop IDs to Global ID/Transit Stop Numbers (TSN).
Share This Dataset
![transport nsw trip planner api Copy path url](https://opennetzero.org/assets/images/share/copy-link.png)
Transport for NSW
Access and licensing, access conditions.
Access control: Unknown
Licence conditions
Licence: Creative Commons Attribution
Trip Planner API - web interface options (transport modes & to/from transport)
Is it possible to specify options available through the Trip Planner web interface when using the Trip Planner API: Modes of transport - web interface can select/deselect Train/Bus/Ferry/School Bus etc. Walk speed - web interface can select Slow/Normal/Fast To and from transport - web interface can choose Walk (with time limit) or Taxi/Drive
The Trip Planner API does not seem to have parameters for these options.I would like to exclude School Bus and Coach and select Taxi/Drive when doing the trip planning. Thanks.
Yes, these parameters can definitely be set. I thought they would be in the API documentation but can’t see it - let me check with some people and I’ll get back to you.
Sorry for the delay. We will update the documentation to include these options.
Hi Tim The documentation for the API has now been updated to include the options you asked about. Let me know if there’s anything else you would like to know! Vic
Related Topics
![transport nsw trip planner api transport nsw trip planner api](https://researchdata.edu.au/assets/img/ARDC_Research_Data_RGB_FA_Reverse_sml.png)
Trip Planner APIs
Licence & rights:.
![transport nsw trip planner api CC-BY](https://researchdata.edu.au/assets/core/images/icons/CC-BY.png)
Creative Commons Attribution http://www.opendefinition.org/licenses/cc-by
Contact Information
Brief description, full description, this dataset is part of a larger collection, related organisations.
- Owner Transport for NSW
User Contributed Tags
Login to tag this record with meaningful keywords to make it easier to discover
- Local : b4ea9f45-2778-47b7-ab3d-de3b7cc98c19
- 'Weather at Home' project data
- 'Seeds for Snapper' 2021 Posidonia fruit collection data (NESP MaC 1.8)
- Public Transport - Realtime Trip Update
A NSW Government website
![transport nsw trip planner api transport nsw trip planner api](https://data.nsw.gov.au/data/json-icon.png)
Explore Metadata
- ISO19115/ISO19139 XML
Data and Resources
- More information
- Go to resource
Additional Info
- MyServiceNSW
- Manage account
- Logout of MyServiceNSW
Testing and what to do if you have COVID-19
How to get a test if you think you might have COVID-19, and what to do if you test positive.
![transport nsw trip planner api Mum with toddler checking thermometer](https://www.nsw.gov.au/sites/default/files/styles/hero_l_x1/public/2022-09/GettyImages_2_1392748538.jpeg?itok=D4WxyAyq)
COVID-19 update – 6 June 2024
COVID-19 is at high levels in the community.
Read the latest data from NSW Health .
Continue to protect other people. Please stay home if you have any cold or flu symptoms. Wear a mask if you need to leave home.
Learn how to keep yourself and others COVID-safe .
![transport nsw trip planner api Icon Testing Health](https://www.nsw.gov.au/sites/default/files/styles/icon_x1/public/2022-10/Testing%20Health.png?itok=I02RJcu4)
Getting a test for COVID-19
Which covid test should i do.
Guidance on which test is best for you.
Information for people exposed to COVID-19
Understand your risk and what you can do to protect yourself and your loved ones.
Symptoms and how it spreads
Learn about the symptoms of COVID-19, when they appear and how it spreads.
Advice for higher risk groups
Some people are at higher risk of severe illness from COVID-19. Find information on how to protect yourself and others from becoming very unwell.
If you're at higher risk of severe illness, talk to your doctor about PCR tests.
![transport nsw trip planner api protect yourself and others](https://www.nsw.gov.au/sites/default/files/styles/icon_x1/public/2020-07/dsicon-protect-yourself-and-others.png?itok=7AOjMtMR)
Managing your COVID-19 illness
What to do if you test positive.
Advice on how you can safely manage mild symptoms at home.
Antiviral medicines
Find out if you're eligible for antiviral medicines and how to access them.
Information on long-term symptoms you may experience due to COVID-19, and where to seek support.
COVID-19 guidance for families
Advice for parents and carers on COVID safety in schools and early childhood education services.
Advice for workers
What to do if you test positive and information about returning to work.
Guidance for businesses
What you need to do as an employer to manage the risk to colleagues and customers.
Easy Read and in-language resources
Easy read information on covid-19, in-language and translated covid-19 support, contact us and find translation help.
- Service NSW – information and advice for NSW residents and businesses. Phone 13 77 88
- Healthdirect – government-funded 24-hour health advice. Phone 1800 022 222
- Disability Gateway – information for people with disability. Phone 1800 643 787
- Mental health support, services and programs
- Service NSW Savings Finder – find rebates and vouchers relevant to you
- Business Concierge – tailored advice from Business Connect advisors. Phone 13 77 88
- Translating and Interpreting Service (TIS National) – free service provided by the Australian Government. Phone 13 14 50
![transport nsw trip planner api Switch to Sydney.com to see more of our capital city](https://www.visitnsw.com/sites/visitnsw/files/styles/website_switcher_x2/public/2022-11/145958-2.jpg?h=82c01dc0&itok=045bgqQe)
- Accommodation
- Travel Inspiration
![transport nsw trip planner api Feel NSW](https://www.visitnsw.com/sites/visitnsw/files/2021-10/DNSW_BRAND_MARK_MASTER_GRADIENT_R%20-%20resized%20campaign%20page_4.png)
Visitnsw Home Page
Nsw, australia.
Welcome to New South Wales – a place to feel free, feel alive, feel new. As the official tourism, destinations and events website, let us inspire your next travel tale.
Follow rainforest birdsong to thundering waterfalls. Glide down glittering snowfields or slip into the silken sea on a white-sand beach. Taste world-class wines, ocean-fresh oysters, juicy cherries and fragrant truffles on meandering road trips. Connect with outback stories, making new friends along the way. So, where to first?
Places to go
![Lowe Wines, Mudgee Lowe Wines in Mudgee](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2022-05/172512-Lowe%20Wines%20in%20Mudgee_0.jpg?h=bf636ff3&itok=7X634df0)
Country NSW
![Hot air ballooning in the Hunter Valley Hot air ballooning in the Hunter Valley](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2021-04/169626%20-%20Balloon%20Aloft%20-%20Hunter%20Valley%20-%20DNSW.jpg?itok=fu1xbDIk)
Hunter Valley
![Three Sisters - Blue Mountains Three Sisters - Blue Mountains](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2020-11/159801-Three%20Sisters%20-%20Sunrise%20over%20Jamison%20Valley%20in%20the%20Blue%20Mountains%20-%20Greater%20Blue%20Mountains%20Drive.jpg?itok=zuJCu5xt)
![](http://spottech.site/777/templates/cheerup/res/banner1.gif)
Blue Mountains
![Hyams Beach in Jervis Bay - South Coast. Credit: Jordan Robins Hyams Beach in Jervis Bay - South Coast. Credit: Jordan Robins](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2022-08/174911%20-%20Hyams%20Beach%20-%20Jervis%20Bay%20-%20South%20Coast%20-%20Credit%20Jordan%20Robins%20-%20rotated.jpg?h=50f99308&itok=4fl1-f5u)
South Coast
![Toowoon Bay - Central Coast Toowoon Bay - Central Coast](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2017-07/Toowoon-Bay-Central-Coast-Image-Destination-NSW.jpg?itok=tq_0ob0I)
Central Coast
![Emerald Beach, Coffs Coast Kangaroos at Emerald Beach during sunrise, Coffs Coast](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2018-08/a03d6da16e124c93715b786dbbb3f43b.jpg?itok=toUq24Ci)
North Coast
![Walls of China - World Heritage Mungo National Park Spectacular outback landscapes showcasing the Walls of China in the World Heritage Mungo National Park](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2020-11/156316%20-%20Central%20to%20Outback%20NSW.jpg?itok=rKFZlJIn)
Outback NSW
![Thredbo, Snowy Mountains - Credit: JW Sunrise at Australian Highest lifted point, Thredbo](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2022-01/07.23.20_Karels_Sunrise_IMG_9033_JW-scaled.jpg?itok=6HLepQla)
Snowy Mountains
![Capella Lodge - Lord Howe Island Capella Lodge - Lord Howe Island](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2021-02/ATDW%20-%20Capella%20Lodge%20-%20Owning%20Org%20Capella%20Lodge%20and%20apartments%20-%20Img%20credit%20Julian%20Kingma.jpeg?itok=bRUVfTjK)
Lord Howe Island
![Sydney Opera House Sydney Opera House](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2021-10/179130%20-%20Sydney%20Opera%20House%20-%20Sydney%20-%20DNSW.jpg?h=606424f9&itok=qqKJkuXD)
Must-see events
Start planning your winter getaway.
![transport nsw trip planner api Gawthorne's Hut at Wilgowrah - Credit: SM Gordon & TR Gordon](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2024-05/ATDW%20-%20Gawthorne%27s%20Hut%20at%20Wilgowrah%20-%20Credit%20SM%20Gordon%20and%20TR%20Gordon%20-%20background%20extended.jpg?h=1f7635b4&itok=fYmJvgkR)
Holiday spots with epic fireplaces
![Lowes Mount Truffiere, Oberon Plate of freshly picked truffles at Lowes Mount Truffiere, Oberon](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2024-05/ATDW_Lowes_Mount_Truffiere.jpg?h=f0fb51a5&itok=MBryj2UQ)
Where to go truffle hunting
![Sierra Escape, Mudgee Luxury Glamping Experience at Sierra Escape, Mudgee](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2023-05/175193_Luxury_Glamping_Experience_Sierra_Escape_1.jpg?h=00af6997&itok=__fEZHp0)
Cosy winter stays in NSW
![Yarrangobilly Caves thermal pool, Kosciuszko National Park - Credit: Boen Ferguson, DPE Yarrangobilly Caves thermal pool, Kosciuszko National Park - Credit: Boen Ferguson, DPE](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2022-10/OEH_2018_Yarrangobilly_BoenFerguson_CS4I8344%20-%20smaller.jpg?h=74bf3e1d&itok=TWMNqagd)
Hot springs worth travelling for
![Festival of W, Wagga Wagga - Credit: Festival of W Families skating on the ice rink at Festival of W, Wagga Wagga](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2024-04/ATDW_Festival_of_W_Wagga_Wagga_Credit_Festival_of_W.jpeg?h=2d616ac9&itok=07JYsZ4r)
5 winter road trips to tick off
![Point Plomer, Port Macquarie Humpback Whale breaching off Point Plomer, Port Macquarie](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2024-05/IMG_5139-3_Whales_Breaching_Port_Macquarie_NP_DT.jpg?h=f0fb51a5&itok=7sAlMZF8)
A guide to whale watching
Have you ticked off these nsw bucket-list experiences.
![Snorkelling at Lord Howe Island Snorkelling at Lord Howe Island](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2017-08/Mount-Gower-Mount-Lidgbird-backdrop-Image-DNSW.jpg?h=801d85b1&itok=dUmcWbwy)
Snorkel the world’s southernmost coral reef
![The Pool of Reflections in the River Cave, within the iconic Jenolan Caves - Credit: Timeless Creations - Jenolan Caves Reserve Trust The Pool of Reflections in the River Cave, within the iconic Jenolan Caves - Credit: Timeless Creations - Jenolan Caves Reserve Trust](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2023-08/ATDW%20-%20Jenolan%20Caves%20-%20The%20Pool%20of%20Reflections%20in%20the%20River%20Cave%20-%20Credit%20Timeless%20Creations%20-%20Jenolan%20Caves%20Reserve%20Trust.jpeg?h=86181ca9&itok=A36CVx2E)
Walk through the world’s most ancient open caves
![Kosciuszko National Park, Kosciuszko Couple watching the sun set at the summit of Mount Kosciuszko in Kosciuszko National Park](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2020-09/152759-56.jpg?h=757418ca&itok=Fsem7L2v)
Stand atop Australia’s highest peak
![Walls of China, Mungo National Park Spectacular outback landscapes showcasing the Walls of China in the World Heritage Mungo National Park, Outback N](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2021-05/156313.jpg?itok=uO16fWgr)
Step back in time at Mungo National Park
![Stockton Sand Dunes, Port Stephens Couple enjoying a sandboarding experience at Stockton Sand Dunes located in the Worimi Conservation Lands](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2022-01/173703.jpg?itok=13mI-78f)
Surf the largest sand dunes in the Southern Hemisphere
![Warrumbungle National Park Warrumbungle National Park](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2019-09/159776-Dark%20Sky%20Park%20-%20Warrumbungle%20National%20Park-DNSW.jpg?h=8a4f6c52&itok=VF7cmJrU)
Stargaze at the country’s first Dark Sky Park
![tour with Dive Jervis Bay - South Coast tour with Dive Jervis Bay - South Coast](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2020-05/169943%20-%20tour%20Dive%20Jervis%20Bay%20-%20South%20Coast.jpg?itok=X_jnMGBm)
Get up close to humpback whales during the annual migration
![Scenic World, Katoomba Tourists watching the Scenic Railway train descending the Jamison Valley at Scenic World, Katoomba in the Blue Mountains](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2019-06/157442-2.jpg?itok=ALxbpddG)
Ride the world’s steepest railway
![Kanangra-Boyd National Park, Blue Mountains Views of Kanangra-Boyd National Park, Blue Mountains](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2020-11/174771%20-%20Kanangra-Boyd%20National%20Park%20-%20Blue%20Mountains%20-%20DNSW%20-%20Expert%20Guide%20-%20Greater%20Blue%20Mountains%20Drive.jpg?h=c50b567c&itok=__r4UDud)
Marvel at NSW’s six UNESCO World Heritage Sites
![Hope Estate, Hunter Valley Friends enjoying wine in the vineyard at Hope Estate, Hunter Valley](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2023-08/199929_Hope_Estate_Hunter_Valley_DNSW.jpg?h=e46332bd&itok=MZqb4ncp)
Sip your way through Australia's oldest wine region
![Hyams Beach in Jervis Bay - South Coast. Credit: Jordan Robins Hyams Beach in Jervis Bay - South Coast. Credit: Jordan Robins](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2022-08/174911%20-%20Hyams%20Beach%20-%20Jervis%20Bay%20-%20South%20Coast%20-%20Credit%20Jordan%20Robins%20-%20rotated.jpg?h=50f99308&itok=nedl-ipK)
Sink your toes into the whitest sand in the world
![Aboriginal Smoking Ceremony, Wilcannia Aboriginal Smoking Ceremony, Wilcannia](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2020-08/ITS%20OUT%20THERE_Theme_ArtCulture_Gallery_641x449%20phase2.jpg?h=d6107e0d&itok=6Nysz6Fs)
Learn about Aboriginal culture with a guide
![Dolphin Swim Australia, Port Stephens - Credit: Dolphin Swim Australia Dolphin Swim Australia, Port Stephens - Credit: Dolphin Swim Australia](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2023-08/ATDW%20-%20Dolphin%20Swim%20Australia%20-%20Port%20Stephens%20-%20Credit%20Dolphin%20Swim%20Australia.jpeg?h=56d0ca2e&itok=Yv8O2W1W)
Go diving with turtles, seals & dolphins
![Enjoying the outdoor bath at Sierra Escape - Mudgee Enjoying the outdoor bath at Sierra Escape - Mudgee](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2023-04/174933%20-%20Sierra%20Escape%20-%20Piambong%20-%20Mudgee%20-%20Country%20NSW%20-%20DNSW%20%281%29.jpg?h=b9ed6e60&itok=i1-BwnST)
Go off-grid on a glamping retreat
![Curracurrong Falls, Royal National Park Sunrise at Curracurrong Falls and Eagle Rock in the Royal National Park, Sydney](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2021-12/DNSW_Grand%20Pacific%20Drive_Sunrise%20at%20Curracurrong%20Falls%20and%20Eagle%20Rock%20in%20Royal%20National%20Park%20174784-56.jpg?itok=DUE9cPLs)
Chase NSW's most incredible waterfalls
![Kiama Blowhole, Kiama Water plume spouting from the Kiama Blowhole, Kiama](https://www.visitnsw.com/sites/visitnsw/files/styles/stack_170x100/public/2023-04/163568_Blow_Hole_Kiama.jpg?h=f0fb51a5&itok=R1l731kR)
Get soaked by the largest blowhole in the world
Latest articles view all.
![transport nsw trip planner api The Big Banana Fun Park - Credit: Gethin Coles | The Big Banana Pty Ltd](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2024-03/ATDW%20-%20The%20Big%20Banana%20Fun%20Park%20-%20Credit%20Gethin%20Coles%20-%20The%20Big%20Banana%20Pty%20Ltd%20-%20header%20resized_0.jpg?h=635f1197&itok=eqk_3wKE)
20 of NSW’s most iconic ‘Big Things’
![Bubbletent Australia, Capertee Valley Woman enjoying Bubbletent Australia's outdoor bathtub with scenic views, Capertee Valley](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2024-03/171596_Bubbletent_Australia_Capertee_Valley_DNSW_DT_0.jpg?h=f0fb51a5&itok=y5YHWxJr)
A wellness guide to the Blue Mountains
![Tropical Fruit World, Duranbah Girl eating dragonfruit at Tropical Fruit World, Duranbah](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2024-02/149240_East_Coast_Australia_Holidays_DNSW_0.jpg?h=f0fb51a5&itok=OuUqNb2Q)
Top food adventures for kids in Sydney and NSW
It’s time to hit the road. Our trip planner and interactive map lets you explore the wonders of NSW from coast to country.
Go north along the Legendary Pacific Coast
![Grand Pacific Drive Grand Pacific Drive](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2020-10/sml%20-%20174815%20-%20Sea%20Cliff%20Bridge%20-%20Clifton%20-%20South%20Coast%20-%20DNSW.jpg?itok=VbdnVeQt)
Beaches and national parks on the Grand Pacific Drive
![Dangar Falls, near Dorrigo, North Coast Scenic shot of Dangar Falls, near Dorrigo, North Coast](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2020-11/142446%20-%20Waterfall%20Way.jpg?itok=u17UvEAD)
Chasing waterfalls in lush rainforest
![Lowe Wines - Winery in Mudgee Barrels in Lowe Wines - Mudgee, Country NSW](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2018-08/154895-.jpg?itok=gPZyh82S)
Gourmet delights on a country Food and Wine Trail
![Montague Island, Narooma Fur seal swimming around Montague Island, Narooma, South Coast](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2021-01/171684.jpg?h=989855d2&itok=Qba2LpM5)
Follow the coast from Sydney to Melbourne
![Sunset Strip in Lake Menindee Sunset Strip in Lake Menindee](https://www.visitnsw.com/sites/visitnsw/files/styles/seasonal_mobile_320px/public/2018-01/107502-2_0.jpg?itok=bTvOp3_1)
Outback adventures on the Darling River Run
More about new south wales.
The most visited state in the nation is home to Sydney , Australia’s most beautiful capital city. There are transport options from Sydney to the marvellous destinations and fun adventures in the regions. There are trains and coaches, as well as flights from Sydney Airport to many regional airports.
What about getting to an island paradise? The UNESCO World Heritage-listed Lord Howe Island is only a short plane trip from the mainland. A top destination all year, the island is home to the world’s most southerly coral reefs, as well as lovely beaches and great fishing, snorkelling and diving.
Wondering where to stay in NSW? Then search the accommodation on the website. There are options to suit various budgets, including camping and caravanning, B&Bs, classic pubs, motels, heritage guesthouses and farm stays, as well as eco-retreats, luxury hotels and spa resorts.
The following pages will also help you plan your holidays, short breaks and weekend escapes:
- Places to stay
- Things to do
- Places to visit
- Hire cars, kayaks and other things
Subscribe to our newsletter
Stay connected to Visit NSW for all the latest news, stories, upcoming events and travel inspiration.
Discover Somewhere New
All the insider news, tips and inspiration you need to plan your next trip, delivered straight to your inbox.
Destination NSW acknowledges and respects Aboriginal people as the state’s first people and nations and recognises Aboriginal people as the Traditional Owners and occupants of New South Wales land and water.
- NSW Government
- Destination New South Wales (Corporate site)
VisitNSW.com is the official tourism site for Destination NSW. © Copyright 2024 Destination NSW. All rights reserved
How can we help you today?
Popular searches.
- Contactless payments
- Routes and timetables
- Concessions
- School student travel
- Opal Travel app
Travel alerts
Keep updated on trackwork.
- Subscribe to trackwork alerts
- Future planned trackwork
- About trackwork
![](http://spottech.site/777/templates/cheerup/res/banner1.gif)
IMAGES
VIDEO
COMMENTS
Trip Planner API to interact with the Transport for NSW trip planner. This allows users to search for trips, stops, service alerts, places of interest. The Trip Planner API offers five different endpoints: Stop Finder, Trip Planner, Departure, Service Alerts and Coordinate Request APIs. You can find more information about each of these below.
Use the Trip Planner to plan a trip on public transport by metro, train, bus, ferry, light rail, coach or by walking, cycling, taxi or rideshare anywhere in Sydney and NSW, with real-time information where available. ... Plan your travel in NSW using the Trip Planner or apps, check timetables and travel alerts and find information on stations ...
Developers and site owners. These digital brand guidelines are designed to help you promote transportnsw.info and to ensure your customers have access to the most up-to-date public transport information. Transport for NSW provides access to public transport data through the Open Data Program. The Open Data Hub and Developer Portal provides ...
1.0 Our APIs and Data Feeds. You can find all our data, including APIs, in the data catalogue on the Open Data Hub. Some of the main APIs include public transport data, live traffic, trip planning and boating. To build a public transport app there are key APIs that you need to learn to use. The following APIs are commonly used to build a public ...
The source API details can be found here: https: ... If you need much more detailed information then I recommend that you use the full Transport NSW trip planner website or application. Thank you. Thank you Dav0815 for your TransportNSW library that the vast majority of this fork is based on. I couldn't have done it without you!
The Opal Fare component of the Trip Planner /trip API is no longer supported 16 October 2023. OpenAPI Console Open in new tab Embed ... Provides capability to provide NSW public transport trip plan options, including walking and driving legs and real-time information. Models. AdditionalInfoResponse.
Trip Planner API to interact with the Transport for NSW trip planner. This allows users to search for trips, stops, service alerts, places of interest. The Trip Planner API offers five different endpoints: Stop Finder, Trip Planner, Departure, Service Alerts and Coordinate Request APIs. You can find more information about each of these below.
Is it possible to specify options available through the Trip Planner web interface when using the Trip Planner API: Modes of transport - web interface can select/deselect Train/Bus/Ferry/School Bus etc. Walk speed - web interface can select Slow/Normal/Fast To and from transport - web interface can choose Walk (with time limit) or Taxi/Drive The Trip Planner API does not seem to have ...
Any time of day, wherever you're going, there's a transport trip planning tool to get you there. Any time of day, wherever you're going, there's a transport trip planning tool to get you there. ... Plan. Plan your travel in NSW using the Trip Planner or apps, check timetables and travel alerts and find information on stations, stops, wharves ...
Create your own personal public transport trip planner. APIs interact with the transportnsw.info trip planner and provide the ability for NSW public transport trip planning, departure board, travel alerts, real-time transport services and walk and drive legs.\\r\\n\\r\\n\\r\\nTrip Planner API to interact with the Transport for NSW trip planner. This allows users to search for trips, stops ...
TripView. TripView creates trip plans for metro, train, bus, ferry, light rail and coach services. Plan your trip based on stations, stops and wharves. For bus travel, you can search by route, suburb or stop. It will list all timetabled services with real-time data. Find the right transport app to plan your trip using your smartphone or tablet.
Create your own personal public transport trip planner. APIs interact with the transportnsw.info trip planner and provide the ability for NSW public transport trip planning, departure board, travel alerts, real-time transport services, walk and drive legs and Opal fares. Trip Planner API to interact with the Transport for NSW trip planner.
Plan. Plan your travel in NSW using the Trip Planner or apps, check timetables and travel alerts and find information on stations, stops, wharves and how to get to events. ... Contact Transport for NSW for information, feedback, lost property, Opal customer care or regional bookings or follow us on social media. Help with using the Trip Planner ...
Public Transport - Realtime Trip Update v2 Stop time updates for active trips, replacement vehicles, and changed stopping patterns in GTFS-realtime format for Metro and Sydney Trains. api
Plan your travel in NSW using the Trip Planner, apps, timetables, travel alerts and find information on stations, stops, wharves and how to get to events ... Use the Trip Planner to plan a public transport trip, now with real time. Departures. See the next services leaving from your station, stop or wharf, in real-time.
Published 6 Jun 2024. Visitors heading to Vivid Sydney over the long weekend should plan ahead, as Transport for NSW anticipates large crowds to flock to the city on public transport. Transport for NSW Coordinator-General Howard Collins said there will be plenty of extra services, but passengers should plan their trip and allow extra travel time.
Contacts and enquiries. Service NSW - information and advice for NSW residents and businesses. Phone 13 77 88. Healthdirect - government-funded 24-hour health advice. Phone 1800 022 222.
NSW, Australia. Welcome to New South Wales - a place to feel free, feel alive, feel new. As the official tourism, destinations and events website, let us inspire your next travel tale. Read more.
Plan. Plan your travel in NSW using the Trip Planner or apps, check timetables and travel alerts and find information on stations, stops, wharves and how to get to events. ... Contact Transport for NSW for information, feedback, lost property, Opal customer care or regional bookings or follow us on social media. Help with using the Trip Planner ...