https://github.com/teverett/kspa
Java API for Arctic Spa
https://github.com/teverett/kspa
Last synced: about 1 year ago
JSON representation
Java API for Arctic Spa
- Host: GitHub
- URL: https://github.com/teverett/kspa
- Owner: teverett
- License: bsd-3-clause
- Created: 2023-06-05T21:48:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T22:46:23.000Z (almost 3 years ago)
- Last Synced: 2025-03-18T05:44:15.795Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
StateEnum.ON
[](https://github.com/teverett/kspa/actions/workflows/main.yml)
KSpa
=============
A Java library for using the [Arctic Spa's](https://www.arcticspas.ca/) API. API details are [here](https://api.myarcticspa.com/docs/).
License
-------------
KSpa is licensed under the 2-Clause BSD license.
Maven Coordinates
-------------
```
com.khubla.kspa
kspa
1.0.0
jar
```
Usage
-------------
The class "com.khubla.kspa.Spa" is the entry point. Simply pass it an API key in the ctor and call the methods.
```
Spa spa = new Spa("abc123");
Status status = spa.getStatus();
System.out.println("Temperature :"+status.getTemperature());
```
```
Spa spa = new Spa("abc123");
spa.setLights(StateEnum.ON);
spa.setBlower(2, StateEnum.ON);
```