aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-23 12:32:14 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-23 12:32:14 +0200
commit415504e140416f04f310a251b33739f900ec6e7c (patch)
tree849c0e5f82fb2bdc8d569680f06ca884713ee16d /README.rst
parentUpdated README. (diff)
downloadnewspipe-415504e140416f04f310a251b33739f900ec6e7c.tar.gz
newspipe-415504e140416f04f310a251b33739f900ec6e7c.tar.bz2
newspipe-415504e140416f04f310a251b33739f900ec6e7c.zip
Updated README.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 6ec8a2a3..022af5b9 100644
--- a/README.rst
+++ b/README.rst
@@ -187,11 +187,14 @@ Add an article:
{
"message": "ok"
}
- >>>
>>> r = requests.get("https://pyaggr3g470r.herokuapp.com/api/v1.0/articles?feed=42&limit=1", auth=("your-email", "your-password"))
>>> print json.loads(r.content)["result"][0]["title"]
Sortie de pyAggr3g470r 5.3
- >>>
+
+Delete an article:
+
+.. code:: python
+
>>> r = requests.delete("https://pyaggr3g470r.herokuapp.com/api/v1.0/articles/84574", auth=("your-email", "your-password"))
>>> print r.status_code
200
bgstack15