diff options
Diffstat (limited to 'test/rest-api.org')
-rw-r--r-- | test/rest-api.org | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rest-api.org b/test/rest-api.org index 4a7b09b..ed31ad0 100644 --- a/test/rest-api.org +++ b/test/rest-api.org @@ -25,12 +25,18 @@ import requests response = requests.get("http://covid19.genenetwork.org/api/version") response_body = response.json() assert response_body["service"] == "PubSeq", "PubSeq API not found" +response_body #+end_src #+RESULTS: +| service | : | PubSeq | version | : | 0.1 | ** Fetch EBI XML +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 requests.get("http://covid19.genenetwork.org/api/ebi/sample-MT32690.1.xml").text #+end_src |