If you have any python skills and want to integrate with HCW@Home API, we are excited to announce we have launched a Python SDK package.
For example, this package can be very helpful in automating the HCW@Home patient invitation process.
- Python pip package page: https://pypi.org/project/hcw-py-sdk
- SDK documentation: https://hcw-home.github.io/hcw-docs/python/
How to use the SDK
The usage is straight forward, first install the pip package.
pip install hcw-py-sdk
Then write a peace a code to communique with the API.
from hcw_py_sdk import HCW
# Create instance with API info
hcw = HCW(
base_url='https://{url}/api/v1',
username='{admin}',
password='{password}'
)
# Print the queues
print(hcw.queue.list)
That's all !