railway-api
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "railway-api", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "An API with various functionalities for indian railways", | ||
"main": "index.coffee", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/sachinb94/railway.git" | ||
"repository" : { | ||
"type" : "git", | ||
"url" : "https://github.com/sachinb94/railway.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/sachinb94/railway/issues" | ||
"bugs" : { | ||
"url" : "https://github.com/sachinb94/railway/issues" | ||
}, | ||
@@ -24,31 +24,6 @@ "scripts": { | ||
"train", | ||
"pnr", | ||
"railway-api" | ||
"pnr" | ||
], | ||
"author": { | ||
"name": "Sachin Bansal", | ||
"email": "sachinbansal94@gmail.com" | ||
}, | ||
"license": "MIT", | ||
"homepage": "https://github.com/sachinb94/railway", | ||
"_id": "railway-api@1.1.0", | ||
"dist": { | ||
"shasum": "68d3def779b667b0ab43d191984ef50379766fdb", | ||
"tarball": "http://registry.npmjs.org/railway-api/-/railway-api-1.1.0.tgz" | ||
}, | ||
"_from": "railway-api@*", | ||
"_npmVersion": "1.4.3", | ||
"_npmUser": { | ||
"name": "sachinb94", | ||
"email": "sachinbansal94@gmail.com" | ||
}, | ||
"maintainers": [ | ||
{ | ||
"name": "sachinb94", | ||
"email": "sachinbansal94@gmail.com" | ||
} | ||
], | ||
"directories": {}, | ||
"_shasum": "68d3def779b667b0ab43d191984ef50379766fdb", | ||
"_resolved": "https://registry.npmjs.org/railway-api/-/railway-api-1.1.0.tgz" | ||
"author": "Sachin Bansal <sachinbansal94@gmail.com>", | ||
"license": "MIT" | ||
} |
@@ -22,2 +22,11 @@ # railway | ||
- Check PNR status | ||
Get PNR status using 10 digit PNR No. | ||
```js | ||
railway.checkPnr('<10 digit pnr>', function (err, res) {}) | ||
``` | ||
- Station name to Code | ||
@@ -81,2 +90,2 @@ | ||
quota(optional: defaults to GN): valid quota code can be fetched from http://www.indianrail.gov.in/quota_Code.html | ||
quota(optional: defaults to GN): valid quota code can be fetched from http://www.indianrail.gov.in/quota_Code.html |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
90
7549
2