A Django app interfacing with the Welkin API.
Project description
Welkin
Welkin is a Django app to connect to the Welkin Health API.
Quick start
- Install django-welkin with pip:
pip install django-welkin
- Add django-welkin and django-solo to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
"solo",
'django_welkin',
]
- Include the django-welkin URLconf in your project urls.py like this:
path('welkin/', include('django_welkin.urls')),
-
Run
python manage.py migrate
to create the welkin models. -
Start the development server and visit http://localhost:8000/admin/welkin/configuration/ to and add API secrets to the singleton (you'll need the Admin app enabled).
Configuration
Syncing Users
The sync command will only sync the users who have one of the roles in settings.WELKIN_SYNC_ROLES
.
When set this should be a list containing the roles that are allowed to be synced.
For instance by default this list is:
["health-coach", "physician"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_welkin-0.0.3.tar.gz
.
File metadata
- Download URL: django_welkin-0.0.3.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.2 Linux/5.15.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23981bece34fa94ad0ab6287a124aea57f6e2061a5187cde047dc6d90f7c88d |
|
MD5 | 4f4b474dca4ae4dbc883c7f1dddd96f3 |
|
BLAKE2b-256 | e67ae494714b75524311934c17b8ccbf5260946713257d2bfe43f4dd81a2b353 |
File details
Details for the file django_welkin-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: django_welkin-0.0.3-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.2 Linux/5.15.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d9c44c199fdc28a1ec3ca295148d740a8fbe766630b42e35e8b97dbb89415e |
|
MD5 | c1db0cd3467d112f1732c8ba687047ad |
|
BLAKE2b-256 | 158d7ba82c330e4196d35d8d530803d356fad776e3205cab55f3d1f72dfee881 |