subutux / rmapy

A unofficial python module for interacting with the Remarkable Cloud
http://rmapy.readthedocs.io/
MIT License
125 stars 48 forks source link

Example #18

Closed chessnocow closed 3 years ago

chessnocow commented 3 years ago

Hello, could you show a usage example? How to connect to API and upload a file.

with zipfile.ZipFile('test.zip', 'w') as myzip: myzip.write('test.pdf') client = api.Client() doczip = document.ZipDocument() doczip.zipfile = myzip client.upload(doczip, upload_folder)

Am I doing this right?

Thanks in advance for your answer.

subutux commented 3 years ago

Hi!

please check the QuickStart documentation. If there is something not clear enough, please let me know! https://rmapy.readthedocs.io/en/latest/quickstart.html