Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/vbb-station-photos
Photos of every subway station in Berlin.
https://github.com/derhuerst/vbb-station-photos
berlin bvg transit transport vbb
Last synced: 5 days ago
JSON representation
Photos of every subway station in Berlin.
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-station-photos
- Owner: derhuerst
- License: cc-by-sa-4.0
- Created: 2016-05-17T01:03:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T11:31:57.000Z (almost 3 years ago)
- Last Synced: 2024-10-03T23:53:38.194Z (about 1 month ago)
- Topics: berlin, bvg, transit, transport, vbb
- Language: JavaScript
- Homepage: https://derhuerst.github.io/berlin-subway-guide/
- Size: 212 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# vbb-station-photos
**Photos of every subway station in Berlin.** Thanks to [*ingolfbln*](https://www.flickr.com/photos/ingolfbln) and all the other people!
[![npm version](https://img.shields.io/npm/v/vbb-station-photos.svg)](https://www.npmjs.com/package/vbb-station-photos)
![CC0-licensed](https://img.shields.io/github/license/derhuerst/vbb-station-photos.svg)
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)## Installing
```shell
npm install vbb-station-photos
```## Usage
```
const photos = require('vbb-station-photos')const station = 'de:11000:900017103' // U Gleisdreieck
const line = 'U1'console.log(photos.original[station][line])
``````js
{
label: 'https://c1.staticflickr.com/9/8315/7931788740_400098a074_o.jpg',
platform: 'https://c1.staticflickr.com/9/8042/7931841660_923be9cfc6_o.jpg'
}
```Available sizes are `original`, `large`, `medium` and `small`. You can also `require` only the urls of a particular image size:
```
const photos = require('vbb-station-photos/medium.json')
```## 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-station-photos/issues).