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.3.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

django_welkin-0.0.3-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

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

Hashes for django_welkin-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d23981bece34fa94ad0ab6287a124aea57f6e2061a5187cde047dc6d90f7c88d
MD5 4f4b474dca4ae4dbc883c7f1dddd96f3
BLAKE2b-256 e67ae494714b75524311934c17b8ccbf5260946713257d2bfe43f4dd81a2b353

See more details on using hashes here.

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

Hashes for django_welkin-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a5d9c44c199fdc28a1ec3ca295148d740a8fbe766630b42e35e8b97dbb89415e
MD5 c1db0cd3467d112f1732c8ba687047ad
BLAKE2b-256 158d7ba82c330e4196d35d8d530803d356fad776e3205cab55f3d1f72dfee881

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