-
Recently active
Got an interesting question from a developer: I would like to maintain the tags assigned to Box in bulk, is there any good solution? I was considering a way to use Box CLI, but the description of the CSV template does not mention tags, so I am looking for a solution. What I want to achieve and the conditions are as follows. What we want to achieve: I want to change the tags assigned to files in bulk with CLI. (e.g. tagA→tagB) I want to delete all tags assigned to files in bulk with CLI. Conditions: I am not an admin user. I am an ordinary user of a company.
Got an interesting question from a developer: Hi Team iI am new to Box REST API. Is it possible to download folder and all of its sub folder/files in 1 call ? if yes, whats the code for that in Python? I checked available docs and at link https://developer.box.com/guides/downloads/folder/ I can see there is some code to download folder contents but thats in .Net, Java and Node. Do we have something in python?
Got an interesting question from a developer: I have been provided a box folder from another user for me to upload files. I have a lot of files to upload to this folder. I created a personal account so I can get access. The files are on a remote Linux box. Is there a convenient way to bulk upload these files from the command-line? I’ve tried different ways (SFTP, generating access token, etc) but having issues with one restriction or another. I posted to your community support page but haven’t heard back. What’s the best way to bulk-upload from Linux to Box?
Got an interesting question from a developer: I am accessing box to download an xlsx file, the file gets downloaded, yet it is corrupted, may you help ? thanks in advance file_id = '1234' download_file = client.file(file_id).get() transfer_file = open("/home/wsuser/work/" + download_file.name, 'wb') download_file.download_to(transfer_file)
Got an interesting question from a developer: I need to rename a file in Box using the Python SDK API. I know the filename, but I guess to rename it I need a file object. How do I create a file object when all I have is the name of the file? The file is located in the root folder.
Got an interesting questions from a developer: I’m looking to get video durations for a list of box.com files but can’t find anywhere in the API how to do it. I’m needing this for lots of videos uploaded to Box so I’m hoping to grab the video duration (you can see it on the video preview) instead of downloading the entire file. I’m working in Python.
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': 'web_link', 'url': 'https://asmodeeuk.app.box.com/v/HobbyOrder'} However I cannot figure out how to use the above to open the folder and list / download the items within. Can anyone help wit
Whether you are building a custom classification service or monitoring the event stream for SmartAccess events, you’ll find like-minded folx here. For more information on Box Shield APIs, check out these links: Classifications Shield Information Barriers Shield Events
Whether you are logging events or kicking off workflows with webhooks, you’ll find the answers you seek here. For more information, check out these links: Webhooks Events
Let’s face it, authentication is usually the hardest part of any new API. We can help. For more information, check out our documentation.
New to Box Platform? This is where you want to be. For more information, check out our documentation.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.