-
Notifications
You must be signed in to change notification settings - Fork 48
reMarkable rolling out a new API for cloud storage #25
Comments
I wrote a mail to you. I would love to help. |
Hi @sabidib I don't actively use rmapy, however, i did a quick test and it seems that I'm unable to login, where my authentication requests are redirected to an https://doesnotexist.remarkable.com host: MaxRetryError: HTTPSConnectionPool(host='doesnotexist.remarkable.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb9357ac4c0>: Failed to establish a new connection: [Errno -2] Name or service not known')) anyone having the same experience? |
found that issue: juruen/rmapi#177 |
After fixing the authentication issue, I was able to upload a sample pdf file and it was downloaded on my remarkable. So it seems that my remarkable is not (yet) using the new storage api. If so, could one of you use mitmproxy (or some other proxy software) to perform the following actions in the desktop app?
Then, I'll try to implement the storage api. |
FYI, I'm leaving on vacation in 6 hours for a week, so my response may be delayed. |
Started to work on it. But I still have a lot of open questions... |
@subutux: @AaronDavidSchneider and I have been working through the API. I wrote up a doc outlining what we know so far about the API: https://docs.google.com/document/d/1peZh79C2BThlp2AC3sITzinAQKJccQ1gn9ppdCIWLl8/edit I have a branch that is based off of @AaronDavidSchneider 's PR that implements all the above functionality. The PR is still missing a solid public API that is similar to the current rmapy public API, this is because of how loading It may be that we give the user to option to lazily download the ObservationsGiven the current API, to get an actual data file for a given document takes at least 4 request and at most 8:
In the same session you may be able to omit getting the root file and index file for multiple data file retrievals. This means best case for a remarkable with 100 documents we do:
to get all the metadata. Subsequent requests for a datafile only cost 2 requests. This could mean hundreds of requests to get all the |
Hi, Thanks for the great write-up on Google Doc! I was trying to follow it to implement the 1.5 API today, and got pretty far, but encountered two issues:
did anyone see the 400 problem when trying to update root file index? (my wip go code is at https://github.com/fishy/url2epub/compare/main..api15, in case anyone is curious) |
^ Oh I figured it out. There are a few things required for upload to work missed from the Google Doc. Things I'm 100% sure that is required for upload to work:
Things I also did and am not 100% sure whether they are required for upload to work:
The final go commit to implement API 1.5 in my project is at fishy/url2epub@72998a9, in case anyone is curious. |
According to juruen/rmapi#187 it seems as though a new API for the remarkable cloud is being rolled out that uses GCS directly.
It seems to be rolling out slowly to different users over the last 2 weeks. I'm still not on it as my cloud seems to be syncing correctly using rmapy and rmapi.
@subutux Have you noticed any issues with your syncing?
If anyone is on the new API, I would gladly pair with them to work on figuring out the new API and get a PR merged into rmapy/rmapi.
The text was updated successfully, but these errors were encountered: