From b7d4abb0d11783dbc70c511955b29ba1c1dd041f Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Sat, 27 Jan 2018 22:37:02 +0100 Subject: [PATCH 1/2] add access_token to entries_exists --- wallabag_api/wallabag.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wallabag_api/wallabag.py b/wallabag_api/wallabag.py index 7a18511..21da581 100644 --- a/wallabag_api/wallabag.py +++ b/wallabag_api/wallabag.py @@ -332,7 +332,8 @@ class Wallabag(object): :return result """ - params = {'url': url, + params = {'access_token': self.token, + 'url': url, 'urls': urls} path = '/api/entries/exists.{ext}'.format(ext=self.format) From c6f62a4697c611910121c9b014420a2bac2a087a Mon Sep 17 00:00:00 2001 From: FoxMaSk Date: Mon, 19 Feb 2018 09:06:06 +0100 Subject: [PATCH 2/2] change repo --- README.rst | 6 +++--- setup.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index e24ed72..6979139 100644 --- a/README.rst +++ b/README.rst @@ -27,7 +27,7 @@ to get the project, from your virtualenv, do : .. code:: python - git clone https://github.com/foxmask/wallabag-api/ + git clone https://github.com/push-things/wallabag_api/ or @@ -110,7 +110,7 @@ Creating a post : this will give you something like this : -.. image:: https://github.com/foxmask/wallabag_api/blob/master/wallabag.png +.. image:: https://github.com/push-things/wallabag_api/blob/master/wallabag.png Testing : @@ -124,7 +124,7 @@ Then create a client API like explain here http://doc.wallabag.org/en/v2/develop this will give you something like this -.. image:: https://github.com/foxmask/wallabag_api/blob/master/wallabag_api_key.png +.. image:: https://github.com/push-things/wallabag_api/blob/master/wallabag_api_key.png Then replace the client_id / client_secret / login / pass to wallabag_test.py and run diff --git a/setup.py b/setup.py index c500cfb..e277e44 100644 --- a/setup.py +++ b/setup.py @@ -12,8 +12,8 @@ setup( description=desc, author='FoxMaSk', author_email='foxmask@trigger-happy.eu', - url='https://github.com/foxmask/wallabag_api', - download_url="https://github.com/foxmask/wallabag_api/archive/" + url='https://github.com/push-things/wallabag_api', + download_url="https://github.com/push-things/wallabag_api/archive/" "wallabag_api-" + version + ".zip", packages=find_packages(), classifiers=[