dova-ladekast-fetcher
Simple Python package to talk to DOVA Ladekast API.
Goal
The goal of the package is to have an easy interface to use the API in Python.
Python package is developed within Provincie Zuid-Holland. The "DOVA Ladekast API" is developed by DOVA (dova.nu). To get access to the DOVA Ladekast please reach DOVA.
Quick start
Requirements
pip install dova-ladekast-fetcher
Sample code
import getpass
import dova-ladekast-fetcher.api as dlf
# Initiate connection for further sessions
baseUrl = "dova-ladekast-url"
username = getpass.getpass(prompt='DOVA Ladekast username:')
password = getpass.getpass(prompt='DOVA Ladekast password:')
l = ladekast(baseUrl, username, password)
# Download specific dataset
dynamicDatasetUID = "GUID" # <--- fill in GUID of dataset --->
filePath = "output_directory" # <--- fill in path to store data --->
# Download the file
l.download(f'ladekast/v1/getdata/{dynamicDatasetUID}', filePath)
Development
Package is hosted on GitHub. After each change increase version number and create a new Release on GitHub. The pipeline will trigger a release to PyPi (see status batch above).
Collaborate?
Send a PR!
Disclaimer
The developers of this package are not affiliated with DOVA.
Metadata
Release files for dova-ladekast-fetcher 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dova-ladekast-fetcher-0.0.2.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dova_ladekast_fetcher-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / dova-ladekast-fetcher-0.0.2.tar.gz
| Download URL | dova-ladekast-fetcher-0.0.2.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b348e58e2c91464879ae4385fe0834cf9a056fc0c0d437513afb9acb08487638
|
|
BLAKE2b-256 checksum How to use checksums |
ee6c01a5ee6218a8dd8afb7444e1c7523d3e7f9dc508eefa97396f3bbb4face9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / dova_ladekast_fetcher-0.0.2-py3-none-any.whl
| Download URL | dova_ladekast_fetcher-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
781640e43373a0d5a88097d82f5c30e55e556297577408f47635573a0d45222a
|
|
BLAKE2b-256 checksum How to use checksums |
1b1722760f07fd30dd5d40020663b33e56be4e9935734f4f3da270dfa8dacb44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|