Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add another way to get master token, implement uploading blobs to the server #137

Closed
rukins opened this issue Apr 4, 2023 · 8 comments
Closed

Comments

@rukins
Copy link

rukins commented Apr 4, 2023

Hey, thanks for your project!
I have created the similar library, but on Java.

And I wanna suggest some improvements for this python library:

  1. Implement another way to get master token without deviceId. You just need an authentication token that can be obtained by logging in your Google account here. The description how to do it you can find on GitHub Page of gpsoath-java library. It is also my library.
    Server contract see here
  2. Implement uploading blobs (for now only images). As far as i understand, in this library it is unavailable, only pulling images form the server.
    You can do it by making a request to https://notes-pa.googleapis.com/upload/notes/v1/media/
    See detailed all server endpoints here
  3. And also here you can find all possible values for extraction status of image blob.

I am ready to help with any questions you have.

@kiwiz
Copy link
Owner

kiwiz commented Apr 4, 2023

Thanks for the references! I'll take a look at this once I'm done with #130

@jakubklos77
Copy link

If this works then this seems to be the only way to make gkeepapi working again

@rukins
Copy link
Author

rukins commented Dec 18, 2023

I am not sure if it works now, but i can check and implement it

@rukins
Copy link
Author

rukins commented Jan 2, 2024

Using this method to get a master token works fine :)
I have updated the readme of the gpsoath-java library project to provide more detailed instructions

@jakubklos77
Copy link

Thank you @rukins. In that case this is the only working method now as the app password way does not work anymore (mentioned in other issues - even when using the docker image). @kiwiz Could you please take a look at this when you have time? Thank you

@kiwiz
Copy link
Owner

kiwiz commented Jan 2, 2024

@jakubklos77 The PR to add this flow is here: simon-weber/gpsoauth#41

@jakubklos77
Copy link

@kiwiz You the man! Thank you

@kiwiz
Copy link
Owner

kiwiz commented Jan 19, 2024

Closing in favor of #81. Splitting out blobs implementation into new issue.

@kiwiz kiwiz closed this as completed Jan 19, 2024
@kiwiz kiwiz mentioned this issue Jan 19, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants