skikrumb-api 1.0.3 → 1.0.5
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 +13 -1
- package/package.json +1 -1
- package/.idea/modules.xml +0 -8
- package/.idea/skikrumb-api.iml +0 -12
package/README.md
CHANGED
|
@@ -7,13 +7,25 @@
|
|
|
7
7
|
A wrapper for the skiKrumb API to use in Node.js and Client applications
|
|
8
8
|
## Install skiKrumb API
|
|
9
9
|
```bash
|
|
10
|
+
$ npm i skikrumb-api
|
|
10
11
|
$ yarn add skikrumb-api
|
|
11
12
|
```
|
|
12
13
|
|
|
14
|
+
## Example
|
|
15
|
+
```javascript
|
|
16
|
+
import skiKrumb from 'skikrumb-api';
|
|
17
|
+
|
|
18
|
+
const {readDeviceData} = skiKrumb({
|
|
19
|
+
apiKey: 'YOUR_API_KEY',
|
|
20
|
+
requestedWith: 'My Application Name',
|
|
21
|
+
url: 'Defaults to http://api.skikrumb.ca'
|
|
22
|
+
})
|
|
23
|
+
```
|
|
24
|
+
|
|
13
25
|
## API Documentation
|
|
14
26
|
#### [Swagger Documentation](https://api.skikrumb.ca/documentation/static/index.html)
|
|
15
27
|
|
|
16
|
-
>
|
|
28
|
+
> Requires an API key. Request an API Key by emailing info@skikrumb.ca
|
|
17
29
|
|
|
18
30
|
> © skiKrumb
|
|
19
31
|
> `2023`
|
package/package.json
CHANGED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/skikrumb-api.iml" filepath="$PROJECT_DIR$/.idea/skikrumb-api.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/skikrumb-api.iml
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$">
|
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
9
|
-
<orderEntry type="inheritedJdk" />
|
|
10
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
-
</component>
|
|
12
|
-
</module>
|