Commit c3379d7c authored by Marius Wybrands's avatar Marius Wybrands

First tries with readme.md

parent 14fda4cd
# The largest heading
\ No newline at end of file
# Genesis Online Wrapper
Node.js wrapper for the germany genesis online database provided by Statistisches Bundesamt.
The wrapper is currently still in an alpha version.
## Example
Get all Bundesländer with code (Amtlicher Gemeindeschlüssel).
```js
const genesis = require("genesis-online-wrapper");
genesis.initWebservice({kennung: 'KENNUNG', passwort: 'PASSWORT'});
var getBundeslaender = function () {
var bundeslaender = [];
genisis.rechercheService.MerkmalAuspraegungenKatalog(
{
name:"DLAND",
}
).then(result => {
for(var i = 0; i < result['merkmalAuspraegungenKatalogEintraege']['merkmalAuspraegungenKatalogEintraege'].length; i++){
bundeslaender.push({
BundeslandId: result['merkmalAuspraegungenKatalogEintraege']['merkmalAuspraegungenKatalogEintraege'][i]['code']['_text'],
Name: result['merkmalAuspraegungenKatalogEintraege']['merkmalAuspraegungenKatalogEintraege'][i]['inhalt']['_text']
});
}
console.log(bundeslaender);
});
}
```
## Implemented Methods
- ExportService
-- TabellenExport
-- AuspraegungInformation
- TestService
-- Whoami
- RechercheService
-- MerkmalsKatalog
-- MerkmalAuspraegungenKatalog
## Genesis-Online Datenbank
- [Overview](https://www-genesis.destatis.de/genesis/online)
- [Manuel](https://www-genesis.destatis.de:443/genesis/misc/GENESIS-Webservices_Einfuehrung.pdf)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment