Skip to content

ArtOfCode-/railator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Railator

National Rail Darwin API translator server

What & Why?

This is a Node.JS HTTP server that serves as a translator between National Rail's Darwin API and JSON. Darwin is a SOAP XML API, which is... difficult, to say the least, to work with in JavaScript; this project aims to solve that problem by sitting in between client applications and Darwin to translate into JSON.

Install

git clone [email protected]:ArtOfCode-/railator
cd railator
cp config.sample.js config.js

You'll need to edit the values in config.js: pick the port you want the server to run on, and provide a valid access token for LDBSVWS, which you can obtain here (for now). Then:

npm install
npm start

About

National Rail API translator, REST to SOAP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published