initial commit

This commit is contained in:
Stijn Van Campenhout
2019-09-18 06:57:23 +02:00
commit c53c511b57
18 changed files with 1459 additions and 0 deletions

10
rmapi/const.py Normal file
View File

@@ -0,0 +1,10 @@
from typing import TypeVar
from .document import Document
RFC3339Nano = "%Y-%m-%dT%H:%M:%SZ"
USER_AGENT = "rmapipy"
BASE_URL = "https://document-storage-production-dot-remarkable-production.appspot.com" # noqa
DEVICE_TOKEN_URL = "https://my.remarkable.com/token/json/2/device/new"
USER_TOKEN_URL = "https://my.remarkable.com/token/json/2/user/new"
DEVICE = "desktop-windows"