Skip to content
This repository has been archived by the owner on Aug 14, 2018. It is now read-only.
/ db-hafas-rest Public archive

DEPRECATED - REST API endpoint for the DB hafas npm module.

Notifications You must be signed in to change notification settings

juliuste/db-hafas-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

db-hafas-rest

DEPRECATED: See db-rest instead.

A public HTTP REST API, exposing a clean interface to query Deutsche Bahn (German Railways).

The public endpoint is available at https://db-hafas.juliuste.de.

npm version Build Status dependency status dev dependency status MIT License

Installation

npm install db-hafas-rest

GET /locations

Output from require('db-hafas').locations(…)

  • query: Required. (e.g. Berlin Hbf)

Content-Type: application/json

curl 'https://db-hafas.juliuste.de/locations?query=Berlin%20Hbf'

Similar Projects

  • db-hafas – "JavaScript client for the DB HAFAS API."
  • db-prices – " Find the cheapest routes using the DB Sparpreise API."

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.

Cheers to Jannis R for contributing.

About

DEPRECATED - REST API endpoint for the DB hafas npm module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published