Remeber to add a 'docs' and 'logs' folder at the root of your project, and a 'contentLog.csv' inside you logs folder.
Place the documents you want to upload into your Box account in the docs folder.
- Read documents into a list.
- Create a folder for each file, get the ID of that folder and pass to the next process.
- Create a sub folder called ORIGINAL, get the ID of that folder and pass to the next process.
- Upload the document into the ORIGINAL folder.
- clientID
- clientSecret
- token (at time of writing this only lasts 1 hour)
- Persistent authentication
!!! Box API only takes 10 requests per second, this overloads the Box API after more than 10 documents are processed. Will re-evaluate at a later date.