dkadia
- Activité totale 28
- Dernière activité
- Membre depuis
- Abonné à 0 utilisateur
- Abonnés 0 utilisateur
- Votes 0
- Abonnements 7
Aperçu des activités
Dernière activité effectuée par dkadia-
dkadia a créé une publication,
Can i put a limit on number of file uploads per day in box folder?
RéponduHi, We have created box folders and shared them with the internal team members to upload files. We want to put a limit on each folder so that no one can upload more than a specific number of files...
-
dkadia a créé une publication,
How to read content of a file as string using python
I am trying to read the content of a pdf file as string using the below code contentInFile = client.file(file_id = 'fileID').content().decode(encoding='utf-8', errors='ignore')But i am still getti...
-
dkadia a créé une publication,
How to get file size using Python Box API
RéponduHi, To get the file size, i am using the parameter sizefor files in folder_1: if files.type != 'folder': print(files.size)But i am getting an error saying AttributeError: 'File' objec...
-
dkadia a créé une publication,
Error While reading files from a box folder using JWT method in python
RéponduHi, Below code for reading files from the box folder was working for me giving me a list of all the files with their file ID items = client.folder(folder_id='folder_id').get_items(limit=100, offs...
-
dkadia a ajouté un commentaire,
Thanks for the reply. I have downloaded the .JSON file for public/private key pair from box developer console gave the path to it in my code as shown above. What wrong can go with it. I haven't ch...
-
dkadia a créé une publication,
Error while using JWT Oauth with Python
Hi, using the resources provided, now i am getting following error. Can you please let me know what i am doing wrong and how to fix it. Error - ValueError: Could not deserialize key data.Codefro...
-
dkadia a ajouté un commentaire,
Hi, using the resources provided, now i am getting following error. Can you please let me know what i am doing wrong and how to fix it. Error - ValueError: Could not deserialize key data.Codefro...
-
dkadia a créé une publication,
How to completely automate getting the access token and refresh token using OAuth for Python
I was able to generate the access token and refresh token but i have to manually click on the auth_url to grant the access to box API to get the auth code. Below is my Python code. from boxsdk im...
-
dkadia a créé une publication,
How to upload a new version of the file with the new name
I want to upload a new version of a file but with the new file name. My filename has date on it. example - box file - test_6/30/2018. I have a file on my local with filename test_7/6/2018. How can...
-
dkadia a ajouté un commentaire,
The code worked when i changed my Exception class from BoxAPIException to Exception.