Function remarkable

  • create an instance of the api

    This gets a temporary authentication token with the device token. If requests start failing, simply recreate the api instance.

    Parameters

    • deviceToken: string

      the device token proving this api instance is registered. Create one with register.

    • __namedParameters: RemarkableOptions = {}

    Returns Promise<RemarkableApi>

    an api instance