Description Usage Arguments Details Value Author(s) References Examples
openbahn_locations()
enables you to find locations and their respective IDs and coordinates known by the API.
1 | openbahn_locations(query)
|
query |
character, a city or train station to look for |
openbahn_locations()
uses the API key stored by openbahn_auth
.
A list
containing the path
, response
and content
of the GET
request.
Philipp Ottolinger
http://data.deutschebahn.com/dataset/api-fahrplan
1 2 3 4 5 6 7 | ## Not run:
# Set your API key
openbahn_auth("YOUR_KEY_HERE")
# Look for a location or station name
openbahn_locations("Mainz Hbf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.