@firmenakte/api-client 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @firmenakte/api-client
|
|
2
|
+
|
|
3
|
+
TypeScript/JavaScript client for the [Firmenakte](https://docs.firmenakte.at) API.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @firmenakte/api-client
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
or with pnpm:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm add @firmenakte/api-client
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Quick start
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import { createApiClient } from "@firmenakte/api-client";
|
|
21
|
+
|
|
22
|
+
const api = createApiClient({
|
|
23
|
+
apiKey: "your-api-key",
|
|
24
|
+
baseUrl: "https://api.firmenakte.at", // optional, defaults to production
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
// Use the API, e.g. list businesses
|
|
28
|
+
const { data } = await api.v1BusinessesList();
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Documentation
|
|
32
|
+
|
|
33
|
+
Full API reference, authentication, and guides: **[https://docs.firmenakte.at](https://docs.firmenakte.at)**
|