release-updates

InterMine API

An API is available to programmatically access FAANGMine. Perl, Python, Ruby, and Java are the languages supported by the InterMine API. Use the menu above to view details on using the client libraries for each language.

Additionally, some Python examples using the FAANGMine API are available in the intermine-api-python-examples repository on GitHub.

Java Web Service Client

The Java web service client library makes it easy to run queries in FAANGMine directly from Java programs. You can use this libray to construct any query you could run from web interface and fetch the results in as either tables of values, or JSON data structures.
Like all our code, these client libraries are open-source, licensed under the LGPL. For information on the API visit our wiki pages, and for Javadoc please visit the API documentation.

  • Get the library

    Maven

                <!-- https://bintray.com/intermineorg/java-client-->
                <dependency>
                    <groupId>org.intermine</groupId>
                    <artifactId>intermine-ws-java</artifactId>
                    <version>3.0.+</version>
                </dependency>
            

    Gradle

    compile 'org.intermine:intermine-ws-java:3.0.+'

  • Getting Started

    You can get example Java web service API code either from a Template Query or the QueryBuilder:
    • From the QueryBuilder - after creating or editing a query, click the "Java" link in the Actions section below the query details.
    • From a Template Query form - click the "Java" link below the template form.