aboutsummaryrefslogtreecommitdiff
path: root/test/rest-api.org
diff options
context:
space:
mode:
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