Session authentication to the Church of Jesus Christ of Latter Day Saints LCR System
Project description
LCR Session
This library provides session authentication to the Church of Jesus Christ of Latter Day Saints Leader and Clerk Resources (LCR) System. This uses the very capable Requests package to drive the web connection.
This library can also save the cookies from an established session, which means that once you authenticate you can repeatedly use your scripts without have to reauthenticate.
This in an unofficial and independent project. In no way is this officially associated with The Church of Jesus Christ of Latter-Day Saints.
Quick Start
Here's a very simple and quick illustration of how to use the API:
import pprint
from lcr_session import LcrSession, ChurchUrl
endpoint_url = ChurchUrl("lcr", "api/report/members-with-callings?unitNumber={unit}")
api = LcrSession(USERNAME, PASSWORD, cookie_jar_file="cookies.txt")
resp = api.get_json(endpoint_url)
pprint.pprint(resp)
See the documentation at: https://lcr-session.readthedocs.io/en/stable/.
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
Built Distribution
File details
Details for the file lcr_session-1.0.2.tar.gz
.
File metadata
- Download URL: lcr_session-1.0.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973d1184276822ccd43452a3c26edcb6085660afa0c5228838ed4289149c4921 |
|
MD5 | 507d103d07c6ae1b3c32e1e2697e2b92 |
|
BLAKE2b-256 | a24610a3a889a3a5e86e9b9fa41be56d892f8e4b52316e2a6004b961f58e9f8e |
File details
Details for the file lcr_session-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: lcr_session-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b689fc2caaefed498dc1185066b136db7df32af6e8a7ad6664ca6f45fa5a684d |
|
MD5 | 697b8759237d3cc50d78c3913223bb31 |
|
BLAKE2b-256 | 0888f658383a948e84ae228ad3c2b85c8bba8068ad7e5c84e7f118941cba4693 |