Skip to main content

A high-level client library for accessing Arctic Spas API

Project description

pyarcticspas

A high-level python client library for accessing Arctic Spas API.

Usage

Example:

from pyarcticspas import Spa, LightState, Blower, BlowerState


token = "(Token received from https://myarcticspa.com/spa/SpaAPIManagement.aspx)"
spa = Spa(token)

status=spa.status()
print(status.connected) #True
print(status.lights.value) #off
print(status.blower1.value) #off

spa.set_lights(LightState["ON"])
spa.set_blowers(Blower["VALUE_0"],BlowerState["ON"])

status=spa.status()
print(status.lights.value) #on
print(status.blower1.value) #on

If you are using asynchronous calls, use the async_ version of the calls.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyarcticspas-0.2.4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyarcticspas-0.2.4-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pyarcticspas-0.2.4.tar.gz.

File metadata

  • Download URL: pyarcticspas-0.2.4.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pyarcticspas-0.2.4.tar.gz
Algorithm Hash digest
SHA256 abce0dc18db98231844a07b5b456c973bf12dedaa4fc52b8cbe8b019284175fc
MD5 b512e2a616b26ebbdcc0761020ef2cc9
BLAKE2b-256 bd3f1ff994d36fe5d0dc02a937c5656965d9affb1cfe3efdfdf88a1dcf0bd635

See more details on using hashes here.

File details

Details for the file pyarcticspas-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: pyarcticspas-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pyarcticspas-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 870bf803af5bb8de478f886e059160893c7e878811c679f0ea43f541d88a5bbb
MD5 2f444536e89edcc48fc064d9679044ce
BLAKE2b-256 d30aafa2f2df7508a7faa20ca774bf128bc51e70654a9c03f61d9884c91fca6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page