kiwiz / gkeepapi

An unofficial client for the Google Keep API.
MIT License
1.53k stars 114 forks source link

Convert a `gkeepapi.node.Note` to `gkeepapi.node.List` #122

Open bergercookie opened 2 years ago

bergercookie commented 2 years ago

Hi there,

Is there a way, via gkeepapi to convert a Note to a List? As far as I understand, the only difference between the two is whether the checkboxes are toggled or not. Is there a way programmatically to do so or does the user need to always do this via hand in the Google Keep gui?

P.S. Thanks for this tool. I'm using it in taskwarrior-syncall to write a two-way synchronization tool against Taskwarrior

kiwiz commented 2 years ago

Not at the moment. I took a quick look and it appears that the code to do this is client side.

To convert to a list:

To convert to a note:

If you decide to implement this, PRs are welcome :]