bafa-fetch
v1.2.0
Published
Node.js library to fetch requests of BAFA Portal
Downloads
4
Readme
bafa-fetch
Node.js library to fetch requests of BAFA Portal.
Installing
Using npm:
$ npm install bafa-fetch
Once the package is installed, you can import the function:
import { getRequests } from './bafa-fetch.mjs';
Usage
const { data, status, error } = await getRequests({
email: '[email protected]',
password: '****'
}, {
lang: 'de'
});
See example.mjs to get an insight.
Result
{
"count": 1,
"data": [
{
"vorgangsnummer": "...",
"kennzeichen": "...",
"status": { "key": "5", "description": "Proof of use in progress" },
"antragsteller": "Surname, First name",
"viewLink": "...",
"editLink": null,
"uploadLink": "https://fms.bafa.de/BafaFrame/upload?themenbereich=...&vorgangsnummer=...",
"submitVnLink": null,
"viewVnLink": "...",
"standort": "Postal code City, Adress line 1",
"antragsdatum": "YYYY-MM-DD",
"vnSubmitted": true,
"zwbDatum": "YYYY-MM-DD",
"isBevollmaechtigter": 0,
"bevollmaechtigter": 0
}
]
}
License
This project is licensed under MIT.