InterMine framework provides several kind of application programming interfaces (APIs) to access the data by HTTP request or programming languages including Perl, Java, Python, Ruby and JavaScript.
Examples
The simplest example is HTTP API.
Search
The following HTTP request will return the quick search results in TargetMine for the word “Alzheimer” in the JSON format.
https://targetmine.mizuguchilab.org/targetmine/service/search?q=Alzheimer
JSON: JavaScript Object Notation, see Wikipedia for more information.
Template
You can do a template query by submitting an HTTP request. An auto-generated URL could be found at each template (see the figure).
The example here is as following.
https://targetmine.mizuguchilab.org/targetmine/service/template/results?name=Gene_Pathway&constraint1=Gene&op1=LOOKUP&value1=3633&extra1=&format=tab&size=10
In this example, the result is returned in the tab separated value (TSV) format.