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.3.tar.gz
.
File metadata
- Download URL: lcr_session-1.0.3.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e3769017471ea0650ff9f860b1464876c6d29a63829e4d8618bce5a0faea27 |
|
MD5 | 53fcfe72b1e4d98cb8c74e4b425c7438 |
|
BLAKE2b-256 | 1e8b833f7603d5a57df7e3efce8b90649b1c42a2586669c4409cc0ef8c62b53c |
File details
Details for the file lcr_session-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: lcr_session-1.0.3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20d6df538dc91a0caff49048cb31496af2f12b7e6f4ce00ea5ad6155b4139451 |
|
MD5 | 66e84fa2264f35fada02cf3d1829ffe1 |
|
BLAKE2b-256 | edf358f0d8b0da305a09cd662eee233c685b29aa58f9d799cac99951b1e722e6 |