From 1c1ca82c7e104bb559480dc9726a9f5399169024 Mon Sep 17 00:00:00 2001 From: Jason Rollins Date: Sat, 18 Apr 2020 10:11:56 -0500 Subject: [PATCH] 0.5.0 Stabalize Files --- README.rst | 2 +- docs/files.rst | 6 +----- shareplum/version.py | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 4369518..177dc28 100644 --- a/README.rst +++ b/README.rst @@ -43,7 +43,7 @@ Access REST API site = Site('https://abc.sharepoint.com/sites/MySharePointSite/', version=Version.v2016, authcookie=authcookie) folder = site.Folder('Shared Documents/This Folder') folder.upload_file('Hello', 'new.txt') - folder.read_txt_file('new.txt') + folder.get_file('new.txt') folder.check_out('new.txt') folder.check_in('new.txt', "My check-in comment") folder.delete_file('new.txt') diff --git a/docs/files.rst b/docs/files.rst index e6dab18..238fabf 100644 --- a/docs/files.rst +++ b/docs/files.rst @@ -28,12 +28,8 @@ or for a binary file :: Download a file :: - folder.download_file('source.txt', 'destination.txt') + folder.get_file('source.txt', 'destination.txt') -Read a text file :: - - folder.read_txt_file('new.txt') - Check out a file :: folder.check_out('new.txt') diff --git a/shareplum/version.py b/shareplum/version.py index c7ab6f5..5a28280 100644 --- a/shareplum/version.py +++ b/shareplum/version.py @@ -1 +1 @@ -__version__ = "0.4.6" \ No newline at end of file +__version__ = "0.5.0" \ No newline at end of file