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?
Question
Use refresh token with desktop Python script?
Sign up
Already have an account? Login
Community access is available only with a Box Account.
Sign in with your Box AccountSign in to the Box Community
No account yet? Create an account
Community access is available only with a Box Account.
Sign in with your Box AccountEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
