rmapi-js
    Preparing search index...

    Function register

    • register a device and get the token needed to access the api

      Have users go to https://my.remarkable.com/device/browser/connect and pass the resulting code into this function to get a device token. Persist that token to use the api.

      Parameters

      • code: string

        the eight letter code a user got from https://my.remarkable.com/device/browser/connect.

      • __namedParameters: RegisterOptions = {}

      Returns Promise<string>

      the device token necessary for creating an api instace. These never expire so persist as long as necessary.