welkin-health
A Python wrapper of the Welkin Health API
This package allows Python developers to write software that makes use of the Welkin Health API. Functions available in the API are mirrored in this package as closely as possible, translating JSON responses to Python objects. You can find the current documentation for the Welkin Health API here:
Welkin Health API Documentation
Installing
pip install welkin
Quick Start
from welkin import Client
welkin = Client(
tenant="gh",
instance="sb-demo",
api_client="VBOPNRYRWJIP",
secret_key="+}B{KGTG6#zG%P;tQm0C",
)
### Patient methods
patient = welkin.Patient(firstName="Foo", lastName="Bar").create() # Create
patient = welkin.Patient(id="6801d498-26f4-4aee-961b-5daffcf193c8").get() # Read
patients = welkin.Patients().get() # Read all/list
patient.update(firstName="Baz") # Update
patient.delete() # Delete
### User methods
user = client.User(username="bar", email="bar@foo.com").create() # Create
user = welkin.User(id="301b2895-cbf0-4cac-b4cf-1d082faee95c").get() # Read
users = welkin.Users().get() # Read all/list
uasers = welkin.Users().get(
search="lightmatter", region="east-coast", seat_assigned=True, user_state="ACTIVE"
) # Filtered read all/list
user.update(firstName="Baz") # Update
user.delete() # Delete
Metadata
Release files for welkin 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| welkin-0.1.10.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| welkin-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / welkin-0.1.10.tar.gz
| Download URL | welkin-0.1.10.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab2d0421502c6a4897b2a8e38612aeaca8d7697f1a62baaffca437a4652e0191
|
|
BLAKE2b-256 checksum How to use checksums |
e1a1b978991704c1eee60aea05d344eee8f89d9b9b2ca6c02adf732211f20a8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / welkin-0.1.10-py3-none-any.whl
| Download URL | welkin-0.1.10-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cb8d8fd1384ac61ff8b09d5e3ff0841558855030faf70792e15c1a4b5448089
|
|
BLAKE2b-256 checksum How to use checksums |
28c0d20098093fcdfbcf5b993f28efa9b95b9ad3cff52a473b4d008c876981aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|