shareplum
shareplum copied to clipboard
Reading from API responses
Hi all, first of all a big thank you for your work with this library as it makes dealing with sharepoint much much easier than otherwise. HIGH PRIORITY:
1- Any chance you can expose more API calls reponses?
For example delete_folder and upload_file both use the post helper function as function call. Post does return the API call response, but both delete_folder and upload_file do not return it once received.
This would be useful for checking if one has expired the number of API calls, for example.
2- Folder names that contain single quotes fail requests when trying to push files to them or deleting the folder. I was able to get it to work by replacing the ' with '' within the upload_file in the library (on both the file name and the folder name), but if I do such change of the names from my side of the code before passing them to the methods from the library it does not work.
LOWER PRIORITY:
update_list_items(data=[id1, id2, id3, ...], kind="Delete") does not seem to work at all.
If you accept contributors, I could chip in. Or if too busy at the moment, I can fork the project and add my customisations. Cheers