pycontw / hackmd-archive-worker

0 stars 1 forks source link

Implement HackMD api client for downloading documents from team `pycontw` #1

Closed josix closed 1 year ago

josix commented 2 years ago

Is your feature request related to a problem? Please describe. For the first step of archiving documents in HackMD, we should implement a HackMD api client which will make a request GET https://hackmd.io/team/pycontw/exportAllNotes with access token to download all exist documents to a given place.

Describe the solution you'd like For implementing this feature, you could take the JS version of api client as an example. Different from that, our client should be able to deal with downloading documents and solving authentication issues at the same time. You could create another module for handling this stuff and made them imported from the main workflow

josix commented 2 years ago

Hello @gary9630, please feel free to make a (draft) pull request if you have any updates.