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.4.tar.gz (17.1 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.4-py2.py3-none-any.whl (10.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: ldsnotes-0.1.4.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.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.4.tar.gz
Algorithm Hash digest
SHA256 9a4b60c057504cdc27ddfaf333b729f914d02558a4b70f4e98ce0fe67d8100a5
MD5 a96b9f3b35bfd02772814ca25be2555d
BLAKE2b-256 d1d06b36790e8c946669c72fafec3b15e376c0c647677630d6336cbb8ee99779

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ldsnotes-0.1.4-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.3.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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7325cd0a8106eab08ec52488a7280c5f05068a78abb89740fd5953421618369c
MD5 6c9ad5b53b62aa36de3133e7b9a34726
BLAKE2b-256 d4b580dcfd7ffa4497cf8f1ad7b801a8db5386bb8e4383000f34f00a3acf3878

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