aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-07-03 07:46:55 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-07-03 07:46:55 +0200
commit5fc294a0ce6fa1245490acee747dd62c0aa9bbac (patch)
tree3e91cbec47b7ac2a3de41b3882ac968a5b13cbae
parentFeedAPI added to the rest module. (diff)
downloadnewspipe-5fc294a0ce6fa1245490acee747dd62c0aa9bbac.tar.gz
newspipe-5fc294a0ce6fa1245490acee747dd62c0aa9bbac.tar.bz2
newspipe-5fc294a0ce6fa1245490acee747dd62c0aa9bbac.zip
Updated README.
-rw-r--r--README.rst17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index df77c898..e18a355f 100644
--- a/README.rst
+++ b/README.rst
@@ -147,7 +147,8 @@ You must give the email address you use to login to pyAggr3g470r.
Web service
-----------
-It is possible to manage your articles thanks to a dedicated Web service. See the examples below.
+Articles
+''''''''
.. code:: python
@@ -222,6 +223,20 @@ Delete an article:
"message": "Article not found"
}
+Feeds
+'''''
+
+Delete a feed:
+
+.. code:: python
+
+ >>> r = requests.delete("https://pyaggr3g470r.herokuapp.com/api/v1.0/feeds/29", auth=("your-email", "your-password"))
+ >>> print r.status_code
+ 200
+ >>> print r.content
+ {
+ "message": "ok"
+ }
Donation
========
bgstack15