diff options
author | Pjotr Prins | 2020-07-20 12:14:07 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-07-20 12:14:07 +0100 |
commit | 6ee5810042f53023a261aae85df3be3adb16147b (patch) | |
tree | 1c59da0cd5a0d3e66a02b3ec188d8fd8a79944ea /test/rest-api.org | |
parent | 794c8d058d13be5d98c7c91e59516f58bdc59e3f (diff) | |
download | bh20-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.org | 4 |
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 |