Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # vbb-parse-ticket
  2. **Parse ticket information from the VBB HAFAS API.**
  3. ```js
  4. {
  5. name: 'foo'
  6. , price: 321
  7. , shpCtx: '{"TLS": "B3TK"}'
  8. }
  9. ```
  10. will be parsed to
  11. ```js
  12. {
  13. name: 'foo'
  14. , price: 3.21
  15. , amount: 1
  16. , fullDay: true
  17. , group: true
  18. , tariff: 'Berlin'
  19. , coverage: 'ABC'
  20. , variant: '1 day, group'
  21. }
  22. ```
  23. [![npm version](https://img.shields.io/npm/v/vbb-parse-ticket.svg)](https://www.npmjs.com/package/vbb-parse-ticket)
  24. [![build status](https://img.shields.io/travis/derhuerst/vbb-parse-ticket.svg)](https://travis-ci.org/derhuerst/vbb-parse-ticket)
  25. [![dependency status](https://img.shields.io/david/derhuerst/vbb-parse-ticket.svg)](https://david-dm.org/derhuerst/vbb-parse-ticket)
  26. [![dev dependency status](https://img.shields.io/david/dev/derhuerst/vbb-parse-ticket.svg)](https://david-dm.org/derhuerst/vbb-parse-ticket#info=devDependencies)
  27. ![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-parse-ticket.svg)
  28. [![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)](https://gitter.im/derhuerst/vbb-rest)
  29. ## Installing
  30. ```shell
  31. npm install vbb-parse-ticket
  32. ```
  33. ## Contributing
  34. If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-parse-ticket/issues).