NS API
Unofficial wrapper for the Dutch railway API (Nederlandse Spoorwegen). The NS API currently features the following services:
- Prices
- Current departure times
- Disruptions and engineering work
- The station list, with all stations in the Netherlands including Geodata
- Travel recommendations from station to station
from nsapi import NSAPI
ns = NSAPI('yourkey')
ns.get_all_stations()
from nsapi import AsyncNSAPI
async def example():
async with AsyncNSAPI('yourkey') as ns:
await ns.get_all_stations()
License
Licensed under the MIT License.
Metadata
Release files for ns-api 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ns-api-0.0.1.tar.gz | 7.1 kB | Without provenance | Details for ns-api-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ns_api-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for ns_api-0.0.1-py3-none-any.whl |
Total release size: 14.9 kB
Release files / ns-api-0.0.1.tar.gz
| Download URL | ns-api-0.0.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f76a3d97d22d8dc4bb50370a70d59560088835d444d4b23c45f229695fe0534
|
|
BLAKE2b-256 checksum How to use checksums |
1cae0663e21eb43717612822ea68996af2c925c3c4cd499046bef29b46e07308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
|
Release files / ns_api-0.0.1-py3-none-any.whl
| Download URL | ns_api-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b14a4bec3dcad5fc6bab29888b89a1231eb53e6b8637847c16f9485bd99ef55
|
|
BLAKE2b-256 checksum How to use checksums |
d01a2dc473965e6ab1f6130fc0e9644710a41e7ea90eed45157ccb4a0059d582
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
|
Security for ns-api 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.