Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ program is run. If rmcl detects that it is being run interactively, it
will print instructions and prompt to user to input a new device token.
Otherwise, it will throw a `rmcl.exceptions.AuthError`. You must call
`register_device(code)` with the code provided obtained from
https://my.remarkable.com/connect/desktop. Once obtained, the device
https://my.remarkable.com/#desktop. Once obtained, the device
token is stored for future use.

## Comparison with rMapy
Expand Down
4 changes: 2 additions & 2 deletions rmcl/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ async def register_device(self, code: str):
"""Registers a device on the Remarkable Cloud.

This uses a unique code the user gets from
https://my.remarkable.com/connect/remarkable to register a new device
https://my.remarkable.com/#desktop to register a new device
or client to be able to execute api calls.

Args:
code: A unique One time code the user can get
at https://my.remarkable.com/connect/remarkable .
at https://my.remarkable.com/#desktop .
Returns:
True
Raises:
Expand Down
2 changes: 1 addition & 1 deletion rmcl/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
DEVICE_TOKEN_URL = "https://webapp-production-dot-remarkable-production.appspot.com/token/json/2/device/new"
USER_TOKEN_URL = "https://webapp-production-dot-remarkable-production.appspot.com/token/json/2/user/new"
USER_TOKEN_VALIDITY = 24 * 60 * 60 # Guessing one day
DEVICE_REGISTER_URL = "https://my.remarkable.com/connect/desktop"
DEVICE_REGISTER_URL = "https://my.remarkable.com/#desktop"
DEVICE = "desktop-windows"
SERVICE_MGR_URL = "https://service-manager-production-dot-remarkable-production.appspot.com/service/json/1/document-storage?environment=production&group=auth0%7C5a68dc51cb30df3877a1d7c4&apiVer=2" # noqa
# Number of bytes of file to request to get file size of source doc
Expand Down