NRE Darwin Web Service (Public): Difference between revisions

From Open Rail Data Wiki
m →‎About: Add SOAP endpoint
No edit summary
 
(12 intermediate revisions by 5 users not shown)
Line 2: Line 2:


The Darwin Web Service (Public) is a SOAP API which allows quick and easy access to arrivals and departures from a rail station.  It is the same web service which powers the [http://ojp.nationalrail.co.uk/service/ldbboard/dep/LST Live Departure Boards] website.
The Darwin Web Service (Public) is a SOAP API which allows quick and easy access to arrivals and departures from a rail station.  It is the same web service which powers the [http://ojp.nationalrail.co.uk/service/ldbboard/dep/LST Live Departure Boards] website.
Having problems with the API?  Check out the [[OpenLDBWS_Troubleshooting|troubleshooting notes]].


== API ==
== API ==


* [http://lite.realtime.nationalrail.co.uk/ldbws/ SOAP Endpoint]
The API uses [http://en.wikipedia.org/wiki/SOAP SOAP], which is not necessarily a developer's first choice.  Check out the cross-platform [https://unop.uk/huxley-2-new-updates/ Huxley 2] API proxy, which can be used to put a lightweight JSON endpoint in front of the API.
 
Example code to consume the service is available for the following languages:
 
* [https://github.com/openraildata/openldbws-example-java Java using Apache CXF]
* [https://github.com/openraildata/openldbws-example-python Python using Zeep]
 
== Detail ==
 
* [https://lite.realtime.nationalrail.co.uk/OpenLDBWS/ SOAP Endpoint] (also gives API documentation when viewed with a web browser)
 
The OpenLDB (Public) provides a SOAP 1.2 endpoint which supports the following operations;
 
[[GetArrBoardWithDetails]] <BR>
[[GetArrDepBoardWithDetails]] <BR>
[[GetArrivalBoard]] <BR>
[[GetArrivalDepartureBoard]] <BR>
[[GetDepartureBoard]] <BR>
[[GetDepBoardWithDetails]] <BR>
[[GetFastestDepartures]] <BR>
[[GetFastestDeparturesWithDetails]] <BR>
[[GetNextDepartures]] <BR>
[[GetNextDeparturesWithDetails]] <BR>
[[GetServiceDetails]] <BR>
 
== Sample code ==
 
* [[OpenLDBWS_SOAP_Query Raw|SOAP query]] for use in [http://www.getpostman.com/ Postman]
* [https://github.com/railalefan/phpOpenLDBWS PHP library] by [https://github.com/railalefan railalefan]


{{Navtable-NreDataFeeds}}
{{Navtable-NreDataFeeds}}


[[Category:National Rail Enquiries Data Feeds]]
[[Category:National Rail Enquiries Data Feeds]]

Latest revision as of 12:04, 6 January 2022

About

The Darwin Web Service (Public) is a SOAP API which allows quick and easy access to arrivals and departures from a rail station. It is the same web service which powers the Live Departure Boards website.

Having problems with the API? Check out the troubleshooting notes.

API

The API uses SOAP, which is not necessarily a developer's first choice. Check out the cross-platform Huxley 2 API proxy, which can be used to put a lightweight JSON endpoint in front of the API.

Example code to consume the service is available for the following languages:

Detail

  • SOAP Endpoint (also gives API documentation when viewed with a web browser)

The OpenLDB (Public) provides a SOAP 1.2 endpoint which supports the following operations;

GetArrBoardWithDetails
GetArrDepBoardWithDetails
GetArrivalBoard
GetArrivalDepartureBoard
GetDepartureBoard
GetDepBoardWithDetails
GetFastestDepartures
GetFastestDeparturesWithDetails
GetNextDepartures
GetNextDeparturesWithDetails
GetServiceDetails

Sample code


National Rail Enquiries Data Feeds
Data Feeds About the Feeds Darwin Webservice (Public) Darwin Webservice (Staff) Historical Service Performance Push Port KnowledgeBaseDTDLocations (PoC)Real Time Journey Planner
LDB API About
LDB-SV API About
HSP About
DTD About Fares Timetable
Push Port About XML Schemas Schedules Associations Train Status Station Messages Alarms Train Order Train Alerts Formations Formation loading