Skip to main content

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

  1. Install django-welkin with pip:
pip install django-welkin
  1. Add django-welkin and django-solo to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
    ...
    "solo",
    'django_welkin',
]
  1. Include the django-welkin URLconf in your project urls.py like this:
path('welkin/', include('django_welkin.urls')),
  1. Run python manage.py migrate to create the welkin models.

  2. 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


Download files

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

Source Distribution

django_welkin-0.0.6.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

django_welkin-0.0.6-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file django_welkin-0.0.6.tar.gz.

File metadata

  • Download URL: django_welkin-0.0.6.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.2 Linux/5.15.0-1041-azure

File hashes

Hashes for django_welkin-0.0.6.tar.gz
Algorithm Hash digest
SHA256 f0495d0e85f40ebe51048805a64e03b9eae198102705ee02547369ea67e78bbc
MD5 931c51c118f497b3ab05e3c1846eae26
BLAKE2b-256 d1f9085d74be7a05510a15c0ef65622411aee61f4ccb326e73e3859e8f91e76b

See more details on using hashes here.

File details

Details for the file django_welkin-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: django_welkin-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.2 Linux/5.15.0-1041-azure

File hashes

Hashes for django_welkin-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b39392dab60ac6d67f95259efc60c146972ecf9f25b6c3eaaed6417de4e2aaa0
MD5 97de6ff227b25f0b9771467ab04d48dc
BLAKE2b-256 5bfafa0dbce4ec555d6f504ecfd9ca49a12ec9882f567d0bdd0d92b78535472a

See more details on using hashes here.

Supported by

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