Skip to main content

An API for The Church of Jesus Christ of Latter-day Saint's Leader and Clerk Resources (LCR)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lcr-api, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size lcr_api-0.4.0-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size lcr-api-0.4.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page