From 6ee5810042f53023a261aae85df3be3adb16147b Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Mon, 20 Jul 2020 12:14:07 +0100 Subject: Adding an endpoint for documentation --- test/rest-api.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/rest-api.org') 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 -- cgit v1.2.3