This is a script that can transform data in seatable into docx file.
- Developed with python3.6
-
Fill the
server_url
andapi_token
inmian.py
-
Custom your data in docx in method
get_data()
-
Run command
$ pip3 install -r requirements.txt
$ uvicorn main:app --host 0.0.0.0 --port 8000
- Now you can access your file download with command:
$ curl localhost:8000/download -o file.docx
- The logic in script is just a demo, please use it with your actual demand.