Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/vbb-parse-ticket
Parse ticket information from the VBB HAFAS API.
https://github.com/derhuerst/vbb-parse-ticket
berlin bvg transit transport vbb
Last synced: 6 days ago
JSON representation
Parse ticket information from the VBB HAFAS API.
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-parse-ticket
- Owner: derhuerst
- License: isc
- Created: 2016-05-24T19:27:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T15:53:48.000Z (over 4 years ago)
- Last Synced: 2024-10-03T23:55:32.976Z (about 1 month ago)
- Topics: berlin, bvg, transit, transport, vbb
- Language: JavaScript
- Homepage: https://github.com/derhuerst/vbb-parse-ticket
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# vbb-parse-ticket
**Parse ticket information from the VBB HAFAS API.**
```js
{
name: 'foo'
, price: 321
, shpCtx: '{"TLS": "B3TK"}'
}
```will be parsed to
```js
{
name: 'foo'
, price: 3.21
, amount: 1
, fullDay: true
, group: true
, tariff: 'Berlin'
, coverage: 'ABC'
, variant: '1 day, group'
}
```[![npm version](https://img.shields.io/npm/v/vbb-parse-ticket.svg)](https://www.npmjs.com/package/vbb-parse-ticket)
[![build status](https://img.shields.io/travis/derhuerst/vbb-parse-ticket.svg)](https://travis-ci.org/derhuerst/vbb-parse-ticket)
[![dependency status](https://img.shields.io/david/derhuerst/vbb-parse-ticket.svg)](https://david-dm.org/derhuerst/vbb-parse-ticket)
[![dev dependency status](https://img.shields.io/david/dev/derhuerst/vbb-parse-ticket.svg)](https://david-dm.org/derhuerst/vbb-parse-ticket#info=devDependencies)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-parse-ticket.svg)
[![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)](https://gitter.im/derhuerst/vbb-rest)## Installing
```shell
npm install vbb-parse-ticket
```## Contributing
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).