Open rleary90 opened 1 month ago
In general you could try to use our docs which shows examples of usage of most of the functions in SDK. If you are interested in more complex scenarios, you could also take a look at our integrations tests .
To give examples of few of the function calls you provided:
for item in client.folders.get_folder_items(folder_id).entries
Hi @rleary90, did you manage to migrate to the new SDK or do you need additional assistance. Please let us know, Best, @lukaszsocha2
Description of the Issue
What is the box-python-sdk-gen equivalent of boxsdk.object.file.File
Steps to Reproduce
Here is the code base I'm attempting to migrate from box-python-sdk to box-python-sdk
Get the folder
folder = client.folder(folder_id).get()
Initialize an empty list to store file items
file_items = []
Iterate over items in the folder
for item in folder.get_items():
Check if the item is a file
Get metadata for files in the specified folder
folder_items = client.folder(folder_id).get_items()
Initialize list to store combined data
combined_data = []
Iterate over items in the folder
for file_item in folder_items:
Check if the item is a file and has one of the specified extensions
if combined_data:
Concatenate DataFrames
Expected Behavior
combined data frame pulling from same tab in of all speadsheet files where tab exists.
Error Message, Including Stack Trace
Screenshots
Versions Used
Python SDK: python-sdk-gen Python: python 3.8