Package: nsapi 0.1.0.9000

nsapi: Connect to the NS (Dutch Railways) API

Access the NS api and download current departure times, disruptions and engineering work, the station list, and travel recommendations from station to station. All results will be returned as a 'data.frame'. NS (Nederlandse Spoorwegen; Dutch Railways) is the largest train travel provider in the Netherlands. for more information about the API itself see <https://www.ns.nl/en/travel-information/ns-api>. To use the API, and this package, you will need to obtain a username and password. More information about authentication and the use of the functions are described in the vignette.

Authors:Roel M. Hogervorst [cre, aut]

nsapi_0.1.0.9000.tar.gz
nsapi_0.1.0.9000.zip(r-4.7)nsapi_0.1.0.9000.zip(r-4.6)nsapi_0.1.0.9000.zip(r-4.5)
nsapi_0.1.0.9000.tgz(r-4.6-any)nsapi_0.1.0.9000.tgz(r-4.5-any)
nsapi_0.1.0.9000.tar.gz(r-4.7-any)nsapi_0.1.0.9000.tar.gz(r-4.6-any)
nsapi_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
nsapi/json (API)
NEWS

# Install 'nsapi' in R:
install.packages('nsapi', repos = c('https://rmhogervorst.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rmhogervorst/nsapi/issues

On CRAN:

Conda:

api-clientnederlandse-spoorwegen-api

3.00 score 2 stars 9 scripts 9 downloads 8 exports 13 dependencies

Last updated from:9b97dc6c71. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK118
source / vignettesOK154
linux-release-x86_64OK128
macos-release-arm64OK106
macos-oldrel-arm64OK134
windows-develOK95
windows-releaseOK74
windows-oldrelOK79
wasm-releaseOK104

Exports:check_ns_api_keysdatetimeget_current_disruptionsget_departuresget_disruptions_stationget_scheduled_engineering_workget_stationlistget_travel_advise

Dependencies:clicrulcurlhttpcodejsonlitelifecyclemimeR6Rcpprlangtriebeardurltoolsxml2

Basic use of the nsapi package

Rendered frombasic_use_nsapi_package.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2018-08-04
Started: 2018-07-17