13.0.3 • Published 2 months ago

@sovity.de/edc-client v13.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

About this component

TypeScript Client Library to be imported and used in arbitrary applications like frontends or NodeJS projects.

You can find our API Wrapper Project here.

How to install

Requires global fetch API (provided by Node.js 18+ or browser).

npm i --save @sovity.de/edc-client

How to use

Configure your EDC Client and use endpoints of our API Wrapper Extension:

Example Using API Key Auth

const edcClient: EdcClient = buildEdcClient({
    managementApiUrl: 'http://localhost:11002/api/management/v2',
    managementApiKey: 'ApiKeyDefaultValue',
});

let kpiData: KpiResult = await edcClient.useCaseApi.getKpis();

A minimal example project using the typescript API client can be found here.

Example Using OAuth2 Client Credentials

const edcClient: EdcClient = buildEdcClient({
    managementApiUrl: 'http://localhost:11002/api/management/v2',
    clientCredentials: {
        tokenUrl: 'http://localhost:11002/token',
        clientId: '{{your-connector}}-app',
        clientSecret: '...',
    },
});

let kpiData: KpiResult = await edcClient.useCaseApi.getKpis();

License

Apache License 2.0 - see LICENSE

Contact

sovity GmbH - contact@sovity.de

11.0.0

4 months ago

10.4.3

7 months ago

10.4.4

7 months ago

12.0.0

3 months ago

13.0.2

2 months ago

13.0.3

2 months ago

13.0.0

2 months ago

13.0.1

2 months ago

10.5.0

7 months ago

10.5.1

7 months ago

10.4.1

10 months ago

10.4.2

9 months ago

10.0.0

12 months ago

8.1.0

1 year ago

9.0.0

12 months ago

10.2.0

11 months ago

10.1.0

11 months ago

10.4.0

10 months ago

10.3.0

10 months ago

8.0.0

1 year ago

7.5.0

1 year ago

7.4.2

1 year ago

7.4.0

1 year ago

7.3.0

1 year ago

7.2.2

1 year ago

7.2.1

1 year ago

7.2.0

1 year ago

7.1.2

1 year ago

7.1.1

1 year ago

7.1.0

1 year ago

7.0.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

5.0.0

2 years ago

6.0.0

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.1.0

2 years ago

3.2.0

2 years ago

3.3.0

2 years ago

3.1.0

2 years ago

3.0.2

2 years ago