aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-29 15:14:32 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-29 15:14:34 -0800
commitebff82bae364bfe68fd3764022b7858ad551ed42 (patch)
treec354411f1162d1ed354e1120c7f816e62f78aeb0 /python
parent01bc4acd84b02403087f3a2b0c229a2945ced14d (diff)
downloadfatcat-ebff82bae364bfe68fd3764022b7858ad551ed42.tar.gz
fatcat-ebff82bae364bfe68fd3764022b7858ad551ed42.zip
partial shell.py update
... but should refactor to use .env and auth_api helper
Diffstat (limited to 'python')
-rw-r--r--python/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/shell.py b/python/shell.py
index f8ff3bd2..86cb81a8 100644
--- a/python/shell.py
+++ b/python/shell.py
@@ -38,13 +38,13 @@ if __name__ == '__main__':
local_api = fatcat_client.DefaultApi(fatcat_client.ApiClient(local_conf))
#prod_conf = fatcat_client.Configuration()
- #local_conf.api_key["Authorization"] = "AgEPZGV2LmZhdGNhdC53aWtpAg4yMDE4LTEyLTMxLWRldgACJmVkaXRvcl9pZCA9IGFhYWFhYWFhYWFhYWJrdmthYWFhYWFhYWFlAAIeY3JlYXRlZCA9IDIwMTgtMTItMzFUMjE6MTU6NDdaAAAGIMWFZeZ54pH4OzNl5+U5X3p1H1rMioSuIldihuiM5XAw"
- #local_conf.api_key_prefix["Authorization"] = "Bearer"
+ #prod_conf.api_key["Authorization"] = "AgEPZGV2LmZhdGNhdC53aWtpAg4yMDE4LTEyLTMxLWRldgACJmVkaXRvcl9pZCA9IGFhYWFhYWFhYWFhYWJrdmthYWFhYWFhYWFlAAIeY3JlYXRlZCA9IDIwMTgtMTItMzFUMjE6MTU6NDdaAAAGIMWFZeZ54pH4OzNl5+U5X3p1H1rMioSuIldihuiM5XAw"
+ #prod_conf.api_key_prefix["Authorization"] = "Bearer"
#prod_conf.host = 'https://api.fatcat.wiki/v0'
#prod_api = fatcat_client.DefaultApi(fatcat_client.ApiClient(prod_conf))
qa_conf = fatcat_client.Configuration()
- local_conf.api_key["Authorization"] = "AgEPZGV2LmZhdGNhdC53aWtpAg4yMDE4LTEyLTMxLWRldgACJmVkaXRvcl9pZCA9IGFhYWFhYWFhYWFhYWJrdmthYWFhYWFhYWFlAAIeY3JlYXRlZCA9IDIwMTgtMTItMzFUMjE6MTU6NDdaAAAGIMWFZeZ54pH4OzNl5+U5X3p1H1rMioSuIldihuiM5XAw"
- local_conf.api_key_prefix["Authorization"] = "Bearer"
+ qa_conf.api_key["Authorization"] = "AgEPZGV2LmZhdGNhdC53aWtpAg4yMDE4LTEyLTMxLWRldgACJmVkaXRvcl9pZCA9IGFhYWFhYWFhYWFhYWJrdmthYWFhYWFhYWFlAAIeY3JlYXRlZCA9IDIwMTgtMTItMzFUMjE6MTU6NDdaAAAGIMWFZeZ54pH4OzNl5+U5X3p1H1rMioSuIldihuiM5XAw"
+ qa_conf.api_key_prefix["Authorization"] = "Bearer"
qa_conf.host = 'https://api.qa.fatcat.wiki/v0'
qa_api = fatcat_client.DefaultApi(fatcat_client.ApiClient(qa_conf))