aboutsummaryrefslogtreecommitdiff
path: root/test/rest-api.org
diff options
context:
space:
mode:
authorPjotr Prins2020-07-20 12:14:07 +0100
committerPjotr Prins2020-07-20 12:14:07 +0100
commit6ee5810042f53023a261aae85df3be3adb16147b (patch)
tree1c59da0cd5a0d3e66a02b3ec188d8fd8a79944ea /test/rest-api.org
parent794c8d058d13be5d98c7c91e59516f58bdc59e3f (diff)
downloadbh20-seq-resource-6ee5810042f53023a261aae85df3be3adb16147b.tar.gz
bh20-seq-resource-6ee5810042f53023a261aae85df3be3adb16147b.tar.lz
bh20-seq-resource-6ee5810042f53023a261aae85df3be3adb16147b.zip
Adding an endpoint for documentation
Diffstat (limited to 'test/rest-api.org')
-rw-r--r--test/rest-api.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rest-api.org b/test/rest-api.org
index fa4e9e6..6d118b5 100644
--- a/test/rest-api.org
+++ b/test/rest-api.org
@@ -22,7 +22,7 @@ curl http://covid19.genenetwork.org/api/version
The Python3 version is
-#+begin_src python :session
+#+begin_src python :session :exports both
import requests
response = requests.get("http://covid19.genenetwork.org/api/version")
response_body = response.json()
@@ -39,7 +39,7 @@ PubSeq provides an API that is used to export formats that are
suitable for uploading data to EBI/ENA from our [[http://covid19.genenetwork.org/export][EXPORT]] menu. This is
documented [[http://covid19.genenetwork.org/blog?id=using-covid-19-pubseq-part6][here]].
-#+begin_src python :session
+#+begin_src python :session :exports both
requests.get("http://covid19.genenetwork.org/api/ebi/sample-MT32690.1.xml").text
#+end_src