Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sergioisidoro/remarkable-js


https://github.com/sergioisidoro/remarkable-js

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# WORK IN PROGRESS

#### Btw: If you want to help me build a browser extension to send simplified PDF versions of webpages, please get in touch.

### Note: Requires JQuery
```
// Not auth
client = remarkableClient(null)

var otp = "xxxxxxx"
vat device_name = "desktop-windows"

// Register device
register_promise = client.register(otp, device_name)

register_promise.done((res) => {
client.set_token(res)
});

// CREATE ZIP FILE WITH PDF HERE, AND CREATE DOC

client.create_doc(content)

// Starting client with pre-registered token:
client = remarkableClient(remarkable_token)
```