I am using a Python script run from my desktop to update metadata on about 180,000 documents in our Box implementation. I can only let the script run for an hour at a time before my developer key expires. I've been trying to come up with a way to incorporate a refresh token into my script to allow the script to continue running indefinitely. However, all the documentation I've found assumes that the calls to Box are coming from a web application. Does anyone have sample code that will show me how to refresh a developer token using Python on the desktop? Is it even possible?
Please sign in to leave a comment.