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

Uploaded Source

Built Distribution

django_welkin-0.0.4-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_welkin-0.0.4.tar.gz
  • Upload date:
  • Size: 21.6 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.4.tar.gz
Algorithm Hash digest
SHA256 ca41abf88f58a2712ad56036ff9a12a0dc91cfef8f3c016d71e5decddf6c0ff8
MD5 5f4a87608853281f8181d2adb038ecc9
BLAKE2b-256 f0e22486c4c9017b4934cd9ddc3841518d4ba42e8d10ca11676347d70652c284

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_welkin-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 28.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f2270adc8535d35b603a5d3ccf8c3e6a115499384e7a4aeb49d6ecf3b46c023e
MD5 05417316df9adbd43e46bde7958b30dd
BLAKE2b-256 c3b266a8f2ee2460c37906eef447717666ff12f1ca966d0545e6da88bb5ac688

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