Unofficial Python API to read your annotations from lds.org
Project description
LDS Notes
Unofficial Python API to interact with your annotations from churchofjesuschrist.org. I reverse engineered a bit of the API to download content/user notes from churchofjesuschrist.org. Currently can only download notes, working on uploading next.
Free software: MIT license
Documentation: https://ldsnotes.readthedocs.io.
Roadmap
Update Content/Annotation classes to inherit from addict.Dict. Should make upload easier later.
2-way sync.
Done
Make tests (and setup CI with travis) using dummy account/notes.
Handling Highlights
The way churchofjesuschrist.org handles where highlights are is a bit difficult to reverse engineer. They save where your highlight is by counting words - both from the start, and from the end. The difficult part is figuring out what they consider a “word”. For example, a footnote/reference counts as a word, and a comma after a word with a footnote also counts as one. This makes things very case by case to get things right. If you have a problem with a highlight being a few words off, please open an issue with your where your highlight is at.
TL;DR Highlights are hard, open issue if yours are off.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-24-20)
Wrote tests to check basic functionality
Got travis deployment encryption set up
Various small bug fixes found when making tests
0.1.0 (2020-22-20)
First release on PyPI.
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 ldsnotes-0.1.5.tar.gz
.
File metadata
- Download URL: ldsnotes-0.1.5.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19f69d3738ba167d8dc9820f5c351e81035458f4511a6d60252d7a725eab9ff |
|
MD5 | 10cd660118b2259c836d98402ed874d8 |
|
BLAKE2b-256 | adc3a52cab82fcf1514880aa765b6a3ac31c22b975831f2b8dc85a2b57590622 |
File details
Details for the file ldsnotes-0.1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: ldsnotes-0.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21eb190965e3f54025e86b686d693abfbb40255f0840113d6a1ea578cdcd4365 |
|
MD5 | a9e733d983231bc9b0b1c2b395aadf69 |
|
BLAKE2b-256 | 615c4a078ecf60c569ad02af56f7f3a69969deb251b7789833d70b996d40c9c5 |