Quan666 / PikPakAPI

PikPak API
136 stars 42 forks source link

Add token refresh callback functionality #60

Closed mhdzumair closed 4 weeks ago

mhdzumair commented 4 weeks ago

Implemented an async callback to be executed after the token is refreshed. This enhancement allows for custom actions, like storing new refreshed token, to be triggered upon token renewal. Updated the PikPakApi class and adjusted the test script accordingly.