Skip to main content

An API for the LDS churches Leader and Clerk Resources (LCR),

Project description

LCR API

Forked from: https://github.com/philipbl/LCR-API. Updated in PIP as lcr-api-2 to pull the new version that works.

A Python API for Leader and Clerk Resources for the LDS Church. I've only tested it with Python 3.5+.

The following calls are supported, which correspond to a page in LCR:

  • Birthday list (birthday_list)
  • Members moved out (members_moved_out)
  • Members moved in (members_moved_in)
  • Member list (member_list)
  • Calling list by organization (callings)
  • Members with callings list (members_with_callings_list)
  • Recommend Status (recommend_status)
  • Individual Photo (individual_photo)
  • Ministering List (ministering)
  • Access Table (access_table)

More calls will be supported as I have time. Pull requests are welcomed!

Disclaimer

This code is rough around the edges. I don't handle any cases where a person using this code doesn't have permissions to access the reports, so I don't know what will happen.

Install

To install, run

pip3 install lcr-api-2

Usage

from lcr import API as LCR

lcr = LCR("<LDS USERNAME>", "<LDS PASSWORD>", <UNIT NUMBER>)

months = 5
move_ins = lcr.members_moved_in(months)

for member in move_ins:
    print("{}: {}".format(member['spokenName'], member['textAddress']))

To Do

  • Add more tests
  • Support more reports and calls

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

lcr_api_2-0.6.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lcr_api_2-0.6.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file lcr_api_2-0.6.3.tar.gz.

File metadata

  • Download URL: lcr_api_2-0.6.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for lcr_api_2-0.6.3.tar.gz
Algorithm Hash digest
SHA256 fb02e465af2fb4a18a75bff7079ae52c07602adb962d9b54c707dda9435fd53a
MD5 4bb143e46c35865112218be6da3b15cf
BLAKE2b-256 d284b93e2c47a8866ff123656e3c2260c51f3d96c355a691a178f50187ef97ba

See more details on using hashes here.

File details

Details for the file lcr_api_2-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: lcr_api_2-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for lcr_api_2-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c0b3de1e5194d5e542fc04bbd55b25d5d711f1f999e22e353a8be457e458db5
MD5 ee72d88fb2fc00b41760ff12b3af0dbf
BLAKE2b-256 191030d34fe05c9f3f3583b1903ef3c637224ddcaec098f6de770103956f058b

See more details on using hashes here.

Supported by

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