gkeepapi icon indicating copy to clipboard operation
gkeepapi copied to clipboard

Uploading images

Open alexflint opened this issue 4 years ago • 4 comments

Thank you for maintaining this library.

I am trying to use gkeepapi to export my notes from Bear Notes and upload them to Google Keep. However, I have images in many of my notes and the gkeepapi docs say that the images associated with a note are read-only. Does this mean that it is not possible to upload images with gkeepapi? If I were to try to implement this feature, do you have any pointers or notes on what I would need to do?

Many thanks.

=========================================================

Debian GNU/Linux 10, Python 3.7.3

Please make sure you've done the following before submitting your issue:

  • [x] Check that you're running the newest version of the library.
  • [x] If you're providing a stack trace, make sure it doesn't contain your password.
  • [x] If you're getting a KeyError or ParseException, please follow the instructions here to dump the raw data.

Additionally, please provide the following information:

  • [x] Operating system
  • [x] Python version

alexflint avatar May 09 '21 00:05 alexflint

Thanks for the interest! If I recall correctly, the endpoint for uploading files actually exists on a separate API - in order to use that one, you need to have authentication cookies (as opposed to an OAuth token). If you want to delve deeper, I can provide some additional detail. Be warned that this will probably involve looking at the Google Keep Android app.

kiwiz avatar May 28 '21 21:05 kiwiz

I am also interested in this feature, can you provide those additional details. Thank you

jarrettgsteele avatar Jul 11 '21 15:07 jarrettgsteele

See #137 for implementation details

kiwiz avatar Jan 19 '24 19:01 kiwiz