1.3.0 • Published 1 month ago

@democracy-deutschland/bt-dip-sdk v1.3.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

🏛 Dokumentations- und Informationssystems für Parlamentsmaterialien (DIP) – SDK

TypeScript SDK for the bundestag dip rest api: https://dip.bundestag.de/über-dip/hilfe/api

:warning: Breacking changes in v0.1.2: This SDK is now using the official swagger file from bundestag.

Docs

Swagger

https://search.dip.bundestag.de/api/v1/swagger-ui/

Install

pnpm add @democracy-deutschland/bt-dip-sdk

Prerequirements

ApiKey

You can get an apiKey from https://dip.bundestag.de/über-dip/hilfe/api

Usage

import { VorgngeApi, Configuration } from "@democracy-deutschland/bt-dip-sdk";

const config = new Configuration({
  apiKey: "ApiKey #YOUR_API_KEY#", // Replace #YOUR_API_KEY# with your api key
});

const api = new VorgngeApi(config);

api
  .getVorgangList({
    fDatumStart: "2020-06-01",
    fDatumEnd: "2020-06-20",
  })
  .then(({ data }) => console.log(data))
  .catch(console.error);

Contribute

pnpm install
# Edit swagger.yml
pnpm gen
1.3.0

1 month ago

1.3.0-alpha.0

2 months ago

0.1.2-alpha.1

1 year ago

0.1.2-alpha.0

1 year ago

0.1.0-alpha.10

2 years ago

0.1.0-alpha.9

2 years ago

0.1.1

2 years ago

0.1.0-alpha.7

3 years ago

0.1.0-alpha.6

3 years ago

0.1.0-alpha.8

3 years ago

0.1.0-alpha.5

3 years ago

0.1.0-alpha.4

3 years ago

0.1.0-alpha.1

3 years ago

0.1.0-alpha.3

3 years ago

0.1.0-alpha.2

3 years ago

0.1.0-alpha.0

3 years ago