From eff8d21a6dfb73ea89309f3ec8fbd345f49e713e Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Tue, 26 Aug 2014 23:49:44 -0700 Subject: [PATCH] Fixing a few links that were not converted from markdown to RST via #23. --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 0782e6e..bfe8ba6 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -PyiCloud is a module which allows pythonistas to interact with iCloud webservices. It's powered by the fantastic [requests](https://github.com/kennethreitz/requests) HTTP library. +PyiCloud is a module which allows pythonistas to interact with iCloud webservices. It's powered by the fantastic `requests `_ HTTP library. At its core, PyiCloud connects to iCloud using your username and password, then performs calendar and iPhone queries against their API. @@ -149,7 +149,7 @@ And when you have a file that you'd like to download, the `open` method will ret >>> api.files['com~apple~Notes']['Documents']['Some Document'].open().content 'Hello, these are the file contents' -Note: the object returned from the above `open` method is a [response object](http://www.python-requests.org/en/latest/api/#classes) and the `open` method can accept any parameters you might normally use in a request using [requests](https://github.com/kennethreitz/requests). +Note: the object returned from the above `open` method is a `response object `_ and the `open` method can accept any parameters you might normally use in a request using `requests `_. For example, if you know that the file you're opening has JSON content: @@ -162,4 +162,4 @@ Or, if you're downloading a particularly large file, you may want to use the `st >>> download = api.files['com~apple~Notes']['Documents']['big_file.zip'].open(stream=True) >>> with open('downloaded_file.zip', 'wb') as opened_file: - opened_file.write(download.raw.read()) \ No newline at end of file + opened_file.write(download.raw.read())