ndbeals / keep-exporter

A command line utility to export Google Keep notes to markdown.
https://pypi.org/project/keep-exporter/
BSD 3-Clause "New" or "Revised" License
96 stars 1 forks source link

Archived status missing from frontmatter (but there is both trashed and deleted) #22

Closed ndbeals closed 3 years ago

ndbeals commented 3 years ago

Discussed in https://github.com/ndbeals/keep-exporter/discussions/11 by @mbafford

Originally posted by **mbafford** January 22, 2021 I don't see any indication of archive status making it to the frontmatter. I see `trashed` and `deleted`, but I don't have any notes with those set to true. Assuming `trashed` precedes `deleted`. When does `deleted` become *deleted*?
Confirmed the order is trashed (goes in Google Keep's "Trash" label), then you delete the note, and it becomes deleted and isn't returned by the API. The deleted doesn't seem to get a value - at least not in my rapid test. So, unless the "deleted" frontmatter metadata is used to indicate a note no longer being returned by the gkeep API - then it may never be a useful value.
ndbeals commented 3 years ago

This group of issues is fixed in 02a743fc54a5320041cb809fcb421a8669852c8f and 075452b9e75b87ecb5953598f73fc748b0c29fb1. Thanks @mbafford for making me aware of them, fixes should be merged to master and released soon.