Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
[docs] update registration URL, see #28 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
agentydragon authored Dec 6, 2022
1 parent 8916261 commit 45485d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ are re-used because we use the same storage location & format.
If not, you'll need to register the client as a new device on `my remarkable`_.


.. _my remarkable: https://my.remarkable.com/connect/remarkable
.. _my remarkable: https://my.remarkable.com/device/desktop/connect

.. _rmapi: https://github.com/juruen/rmapi

Expand All @@ -30,6 +30,7 @@ and use the code you see on the webpage
# This registers the client as a new device. The received device token is
# stored in the users directory in the file ~/.rmapi, the same as with the
# go rmapi client.
# Get a token at https://my.remarkable.com/device/desktop/connect.
rmapy.register_device("fkgzzklrs")
# It's always a good idea to renew the user token every time you start
# a new session.
Expand Down
6 changes: 3 additions & 3 deletions rmapy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ 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
or client to be able to execute api calls.
https://my.remarkable.com/device/desktop/connect 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/device/desktop/connect.
Returns:
True
Raises:
Expand Down

0 comments on commit 45485d4

Please sign in to comment.