|
1 | 1 | # CommandLineFileExplorer sample |
2 | 2 |
|
3 | 3 | The CommanLineFileExplorer sample is a sample app written in Python and uses the OneDrive SDK for Python. |
4 | | -The sample shows you how to work with a user's files and folders on OneDrive. In this sample, you will learn how to upload or download a file, get a sharing link, explore files and folder, and more. Note that the sample does not work for OneDrive for Business. |
| 4 | +The sample shows you how to work with a user's files and folders on OneDrive. In this sample, you will learn how to upload or download a file, get a sharing link, explore files and folder, and more. |
5 | 5 |
|
6 | 6 | ## Set up |
7 | 7 |
|
8 | 8 | 1. If you don't have Python installed, go to [Python.org](http://python.org) and scroll over **Downloads** to choose the install for your platform. For example, choose **Download for Windows** | **Python 3.5.0** to download Python for Windows. Follow the instructions in [Using the Python Interpreter](https://docs.python.org/3/tutorial/interpreter.html) to complete your Python set up. |
9 | | -2. Download the [OneDrive SDK for Python](https://github.com/OneDrive/onedrive-sdk-python/). |
| 9 | +2. Download the [OneDrive SDK for Python](https://github.com/OneDrive/onedrive-sdk-python/) to get the sample. |
10 | 10 | 3. Open a command prompt and type `pip install requests` to install [Requests](http://docs.python-requests.org/en/latest/). |
11 | 11 | 4. In the command prompt, type `pip install pillow` to install [Pillow](https://pypi.python.org/pypi/Pillow/3.0.0). |
12 | 12 | 5. Next, type `pip install onedrivesdk` to install the OneDrive SDK for Python. |
@@ -97,7 +97,7 @@ def get_sharing_link(client, item_id): |
97 | 97 |
|
98 | 98 | ### List changes for an item |
99 | 99 |
|
100 | | -OneDrive keeps track of changes for an item. In this example, the `delta` method is called on an item to list all changes for that item. The token represents TBD |
| 100 | +OneDrive keeps track of changes for an item. In this example, the `delta` method is called on an item to list all changes for that item. The token represents the last sync token you got from the call to 'delta'. |
101 | 101 |
|
102 | 102 | ```python |
103 | 103 | def list_changes(client, item_id, token): |
|
0 commit comments