How to access files in shared box folder via Python Box SDK
Got an interesting question from a developer:
I have been shared a Box folder via the following link:
https://asmodeeuk.app.box.com/v/HobbyOrder
I would like to programatically access these files in python or at least download them locally.
I have set up a developer box account and I am just using the developer token for now.
TOKEN = 'DEV_TOKEN'
auth = OAuth2(None, None, access_token=TOKEN)
box = Client(auth)
I have also added this to my favourites in Box.
favourites_id = 8166214818
items = box.collection(collection_id=favourites_id).get_items()
for item in items:
print(item.id)
I can use the above code to see that the folder is in my favourites collection
{'etag': '0',
'id': '20105505368',
'name': 'Asmodee Box',
'sequence_id': '0',
'type': '