Search Mailing List Archives
[bioontology-support] Help on a small API script
Hu, Zhiliang [AN S]
zhu at iastate.edu
Thu Sep 30 15:34:21 PDT 2021
I have a routine to watch the latest versions of a few ontologies (VT/LPT/CMO/etc).
I tried the following:
use JSON qw( decode_json );
my $bioprtAPIky = "720f4412-5a96-48cc-a39f-961570c9a94b";
my $url = "http://data.bioontology.org";
$url .= "/property_search?";
$url .= "apikey=$bioprtAPIky";
$url .= "&ontology=VT";
$url .= "&q=version";
my $get = get("$url");
and get lost at what to extract for.
I was on your doc http://data.bioontology.org/documentation but didn't get much. Could you help with this script? (to get just the latest version number).
Thanks in advance,
I used to "get" "https://bioportal.bioontology.org/ontologies/VT/?p=summary" and apparently the scripting "get" is being blocked on your site lately.
More information about the bioontology-support