Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Help on a small API script

Hu, Zhiliang [AN S] zhu at iastate.edu
Thu Sep 30 15:34:21 PDT 2021


Greetings,

I have a routine to watch the latest versions of a few ontologies (VT/LPT/CMO/etc).
I tried the following:

use LWP::Simple; 
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,

Zhiliang

PS: 
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 mailing list