aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-03 12:59:03 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-03 12:59:03 -0700
commit9598a4c14800f8ec2543b26872565b1c3b9d2677 (patch)
tree09631ff75bfa665da987ee0fd26fc228041ff16b /fatcat_covid19
parent3de4f762f02f95d17b912dadf64a1c00effd7f12 (diff)
downloadfatcat-covid19-9598a4c14800f8ec2543b26872565b1c3b9d2677.tar.gz
fatcat-covid19-9598a4c14800f8ec2543b26872565b1c3b9d2677.zip
document scripts and tools a bit
Diffstat (limited to 'fatcat_covid19')
-rw-r--r--fatcat_covid19/search.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/fatcat_covid19/search.py b/fatcat_covid19/search.py
index 921520c..8b90a4a 100644
--- a/fatcat_covid19/search.py
+++ b/fatcat_covid19/search.py
@@ -1,4 +1,11 @@
+"""
+Helpers to make elasticsearch queries.
+
+TODO: switch to using elasticsearch-dsl library instead of requests+json.
+already have a WIP branch for this in fatcat repo.
+"""
+
import json
import datetime
import requests