Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@democracy-deutschland/bt-dip-sdk

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@democracy-deutschland/bt-dip-sdk - npm Package Compare versions

Comparing version 0.1.0-alpha.0 to 0.1.0-alpha.1

dist/index.d.ts

7

package.json
{
"name": "@democracy-deutschland/bt-dip-sdk",
"version": "0.1.0-alpha.0",
"version": "0.1.0-alpha.1",
"description": "Bundestag DIP - TypeScript SDK",

@@ -8,2 +8,3 @@ "main": "dist/index.js",

"license": "Apache-2.0",
"homepage": "https://github.com/demokratie-live/bt-dip-sdk",
"repository": "https://github.com/demokratie-live/bt-dip-sdk",

@@ -15,6 +16,8 @@ "scripts": {

"gen-docs": "typedoc --out docs src/index.ts",
"test": "ts-node-dev src/tests/usage.ts"
"test": "ts-node-dev -r dotenv/config src/tests/usage.ts"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.3.3",
"@types/node": "^15.12.2",
"dotenv": "^10.0.0",
"ts-node-dev": "^1.1.6",

@@ -21,0 +24,0 @@ "typedoc": "^0.20.36",

🚧 Still under Constructionn 🚧
# bt-dip-sdk
# 🏛 Dokumentations- und Informationssystems für Parlamentsmaterialien (DIP) – SDK
TypeScript SDK for the bundestag dip rest api: https://dip.bundestag.de/über-dip/hilfe/api
## Docs

@@ -12,7 +14,13 @@

```
yarn add @democracy-deutschland/bt-dip-sdk
yarn add @democracy-deutschland/bt-dip-sdk@0.1.0-alpha.0
```
## Usagee
## Prerequirements
### ApiKey
You can get an apiKey from https://dip.bundestag.de/über-dip/hilfe/api
## Usage
```ts

@@ -22,3 +30,3 @@ import { DipApi, Configuration } from "@democracy-deutschland/bt-dip-sdk";

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

@@ -36,1 +44,9 @@

```
## Contribute
```sh
yarn
# Edit swagger.yml
yarn gen
```
import { DipApi, Configuration } from "../index";
const config = new Configuration({
apiKey: "ApiKey N64VhW8.yChkBUIJeosGojQ7CSR2xwLf3Qy7Apw464",
apiKey: `ApiKey ${process.env.API_KEY}`,
});

@@ -6,0 +6,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc