aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/lib/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/lib/client.py')
-rwxr-xr-xpyaggr3g470r/lib/client.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/pyaggr3g470r/lib/client.py b/pyaggr3g470r/lib/client.py
deleted file mode 100755
index 6b2fc9ae..00000000
--- a/pyaggr3g470r/lib/client.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python
-import json
-import requests
-import conf
-
-
-def get_client(email, password):
- client = requests.session()
- client.get(conf.PLATFORM_URL + 'api/csrf', verify=False,
- data=json.dumps({'email': email,
- 'password': password}))
- return client
-
-
-def get_articles(client):
- return client.get(conf.PLATFORM_URL + 'api/v1.0/articles/').json
bgstack15