11.1.1 • Published 3 years ago
national-rail-graphql v11.1.1
national-rail-graphql
GraphQL implementation of the UK's National Rail API.
Prerequisites
Before running the code, you should register for an API token with National Rail: http://lite.realtime.nationalrail.co.uk/openldbws/
Installing and running
To use the code, install using the following:
npm install national-rail-graphql
Once you have this, the module can be used as following:
// index.js
const service = require("./src");
service({ tokenValue: "ABC-XYZ" });
Running this in a new shell will then start the service:
node index.js
The GraphQL Playground and API documentation will then be available at http://localhost:4000
11.1.1-beta.17
3 years ago
11.1.1
3 years ago
11.1.1-beta.15
3 years ago
11.1.1-beta.9
3 years ago
11.1.1-beta.16
3 years ago
11.1.1-beta.10
3 years ago
11.1.1-beta.8
3 years ago
11.1.1-beta.7
3 years ago
11.1.0
3 years ago
11.1.1-beta.5
3 years ago
11.1.1-beta.6
3 years ago
11.0.1
3 years ago