NREWebService is a Python 2/3 compatible library to ease working with the various Web Service APIs offered by National Rail Enquiries for access to rail industry data. The web services this library provides access to are:
Accessing the APIs¶
These APIs are provided by National Rail Enquiries under varying license terms. In order to access them you will need the relevant API keys (which are different for each web service). For more information about the available APIs and how to get access to them, please see the National Rail Enquiries Developers Page.
If you run into difficulties using this library or the National Rail Enquiries APIs, you can get help from the Open Rail Data Google Talk Group. If you want to learn more about the National Rail Enquiries data feeds, as well as other UK rail open data feeds, you should visit the Open Rail Data Wiki.
This is not an official API client library, and is not affiliated with National Rail Enquiries or the Association of Train Operating Companies in any way. Please do not contact them for help with this library.