Skip to main content

Unofficial Python API to read your annotations from lds.org

Project description

LDS Notes

https://img.shields.io/pypi/v/ldsnotes.svg https://img.shields.io/travis/contagon/ldsnotes.svg Documentation Status Updates

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.

Roadmap

  • Update Content/Annotation classes to inherit from addict.Dict. Should make upload easier later.

  • 2-way sync.

  • Make tests (and setup CI with github) 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-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

ldsnotes-0.1.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ldsnotes-0.1.2-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ldsnotes-0.1.2.tar.gz.

File metadata

  • Download URL: ldsnotes-0.1.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for ldsnotes-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b7bc34d3fc8ba67aba1739fbc36aad8b585c28202fb35c9fb501a559e48b23ff
MD5 d1cdc2deb23d19d11c113a80c93f9d0a
BLAKE2b-256 13c04f9fe9d917f43368a73ee041a410003954c507e964f945d778b6580925d8

See more details on using hashes here.

File details

Details for the file ldsnotes-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: ldsnotes-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for ldsnotes-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d18b581d0acefeec3fd8b57282b37e454a59eb480a00670d691caaf93000bf21
MD5 3cae0b1db77d3a3f553221cad77614d3
BLAKE2b-256 005296f7a342938df947fe33d7c1b59b0ba3fa196d6167d6bef981bba8efbbf0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page