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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django_welkin-0.0.2a0.tar.gz.

File metadata

  • Download URL: django_welkin-0.0.2a0.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.2a0.tar.gz
Algorithm Hash digest
SHA256 10613b51bd13f9f5e7721b173ab0420d07d218966179a1c510e8ad7eacd4d504
MD5 55bf06046ec87be8cc0be7a1b1926e76
BLAKE2b-256 2eda09855d178d6fd9c593c0ecba856ed47823b8744ad6013bbe33f5a59384bc

See more details on using hashes here.

File details

Details for the file django_welkin-0.0.2a0-py3-none-any.whl.

File metadata

  • Download URL: django_welkin-0.0.2a0-py3-none-any.whl
  • Upload date:
  • Size: 28.3 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.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bba9d5242d28422f63584711ed82162b5d29abb64d7a383981fd0edf2a5717f
MD5 614cc46c2f016deb6031fdc17752cab7
BLAKE2b-256 930fb2c2726f4a8be02a668f645f20639241605b3a82504dcaadc837df37c72e

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