1.0.1 • Published 5 years ago

vilniuseticket v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Vilnius E.ticket card checker

No official api exists to access and check the status of the vilnius city card (Vilniečio kortelė). Hopefully this will be helpful to someone or can be used in your future projects. The card info is fetched from here: https://mano.vilniustransport.lt/login

Installation

npm install vilniuseticket

Usage

const VilniusCardChecker = require('vilniuseticket')

VilniusCardChecker.checkCard('0157912457').then(res => console.log(res))

Todo

  • Get HTML information about the card
  • Parse the reponse and categorize into different ticket types
  • Find ways to check for bike sharing passes on the card

Contributing

Pull requests are welcome.

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago