N4S4 / synology-api

A Python wrapper around Synology API
MIT License
368 stars 138 forks source link

support 2fa #82

Closed liuerfire closed 2 years ago

N4S4 commented 2 years ago

Thats great! As I do not use 2fa, is it working well? I guess you been testing it

liuerfire commented 2 years ago

Yes, I've tested it.

And according to the docs, we just need add otp_code in params https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/FileStation/All/enu/Synology_File_Station_API_Guide.pdf

N4S4 commented 2 years ago

Perfect i didnt notice that part! It must have been updated. I will test aswell and merge! Thank you!