Rails::Rail::In
Indian Railways Trains, PNR Status, Features to come IRCTC Availability, Running Status, Map, Arrival Departure, Route, Fare Check...
Installation
Add this line to your application's Gemfile:
gem 'rails-rail-in'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails-rail-in
Usage
var1 = Rails::Rail::In.pnr_status(your_pnr_number)
You will get JSON response
Contributing
- Fork it ( https://github.com/[my-github-username]/rails-rail-in/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request