Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
railway-api
Advanced tools
An API with various functionalities for indian railways
npm install railway
##Usage
var railway = require('railway-api')
railway.setApikey('<API key>')
You may register for a key at http://www.railwayapi.com/pricing/
Get station details of given station and nearby stations using station name with automatic name completion.
railway.stationCode('<station name>', function (err, res) {})
Get passed railway station and nearby stations details using station code.
railway.stationName('<station code>', function (err, res) {})
Get live train status.
railway.liveTrainStatus('<train number>', function (err, res) {})
Get train’s route information like the list of stoppages,their locations etc.
railway.trainRoute('<train number>', function (err, res) {})
Get all trains(numbers) running between a source station and destination.
railway.trainBetweenStations('<source>', '<destination>', function (err, res) {})
Get train name using number and vice versa.
railway.name_number('<train name or number>', function (err, res) {})
Get Train Seat Availability.
railway.seatAvailability = ('<trainNo>', '<source>', '<destination>', '<date>', '<class>', '<quota>', function (err, res) {})
class: valid class code can be fetched from http://www.indianrail.gov.in/class_Code.html
quota(optional: defaults to GN): valid quota code can be fetched from http://www.indianrail.gov.in/quota_Code.html
FAQs
An API with various functionalities for indian railways
The npm package railway-api receives a total of 15 weekly downloads. As such, railway-api popularity was classified as not popular.
We found that railway-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.