Skip to main content

LCR API

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
  • Members moved out
  • Members moved in
  • Member list
  • Calling list

There is one additional call supported:

  • Individual photo – Gets the photo for an individual. This is the same call that LCR uses to show a picture when you go to a member's page.

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

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

Metadata

Release files for lcr-api 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lcr-api 0.4.0
File Size Uploaded Provenance Actions
lcr-api-0.4.0.tar.gz 3.3 kB Without provenance Details for lcr-api-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lcr-api 0.4.0
File Interpreter ABI Platform Actions
lcr_api-0.4.0-py3-none-any.whl Python 3 none any Details for lcr_api-0.4.0-py3-none-any.whl

Total release size: 6.6 kB

Release files / lcr-api-0.4.0.tar.gz

Download URL lcr-api-0.4.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
462bd9f4a17e2e5b937519fc6a1554efa7cc6b269f2f49f19c3014e37ffa513a
BLAKE2b-256 checksum
How to use checksums
0ff7e7472a8244fd6da46388b69791d042e4f6460d3f9db8afae75e3de9a720a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

Release files / lcr_api-0.4.0-py3-none-any.whl

Download URL lcr_api-0.4.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a35a8b341bbc6c7e942da4852738087b3da168ab28654aa357c474cfd920f195
BLAKE2b-256 checksum
How to use checksums
5f5ff413156987af2a1b685769eb3bc2173be998a9469c9fd22afc6421de9137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

Security for lcr-api 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page