@jphil/bookwhen-client 0.2.2 → 0.2.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 +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -61,6 +61,8 @@ const events_2025 = await client.events.getMultiple({
|
|
|
61
61
|
includes: ['location'] // Optional: Include related resources
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
+
```
|
|
65
|
+
|
|
64
66
|
(N.B. Ensure you wrap the above statements in try/catch blocks to catch errors which could be thrown)
|
|
65
67
|
|
|
66
68
|
Valid filters and includes for each method are detailed in the [API v2 docs](https://petstore.swagger.io/?url=https://api.bookwhen.com/v2/openapi.yaml)
|
|
@@ -69,8 +71,6 @@ Services for the other models in the API are in the pipeline.
|
|
|
69
71
|
|
|
70
72
|
N.B. This library is still a pre-1.0.0 WIP, please use accordingly!
|
|
71
73
|
|
|
72
|
-
```
|
|
73
|
-
|
|
74
74
|
## Configuration
|
|
75
75
|
|
|
76
76
|
Required configuration options:
|
|
@@ -79,7 +79,7 @@ Required configuration options:
|
|
|
79
79
|
|
|
80
80
|
API requests to the Bookwhen API are authenticated using Basic Authentication with the API Key as the username and a blank password.
|
|
81
81
|
|
|
82
|
-
API keys can be generated in the [API tokens setup area of your Bookwhen account](https://
|
|
82
|
+
API keys can be generated in the [API tokens setup area of your Bookwhen account](https://admin.bookwhen.com/settings/api_access_permission_sets). (This will link to the API settings page in your Bookwhen account if you have one and are logged into your admin account)
|
|
83
83
|
|
|
84
84
|
## Contributing
|
|
85
85
|
|
package/package.json
CHANGED