{"id":20930680,"url":"https://github.com/intermine/intermine-ws-java-docs","last_synced_at":"2025-08-13T17:18:02.818Z","repository":{"id":136990312,"uuid":"195016682","full_name":"intermine/intermine-ws-java-docs","owner":"intermine","description":"Examples for using the InterMine Java client","archived":false,"fork":false,"pushed_at":"2021-04-22T09:10:01.000Z","size":14717,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T02:16:08.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intermine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-03T08:56:24.000Z","updated_at":"2021-12-22T01:39:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ee617c1-3e3b-4dd4-aed5-0b67623babfb","html_url":"https://github.com/intermine/intermine-ws-java-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intermine/intermine-ws-java-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fintermine-ws-java-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fintermine-ws-java-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fintermine-ws-java-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fintermine-ws-java-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intermine","download_url":"https://codeload.github.com/intermine/intermine-ws-java-docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fintermine-ws-java-docs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270278704,"owners_count":24557184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T21:35:34.900Z","updated_at":"2025-08-13T17:18:02.774Z","avatar_url":"https://github.com/intermine.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InterMine Webservice Client Examples\n\nThis Java client library is for use with Web services\nattached to InterMine data-warehouses. It abstracts\nand simplifies techniques for making structured\nqueries on remote databases using the InterMine\nREST interface.\n\n\n## Documentation\n\n* [client source code](https://github.com/intermine/intermine-ws-java/) \n* [javadoc](http://intermine.org/intermine-ws-java/javadoc/)\n\n## Autogenerated Code\n\nThe easiest way to use the client is to run a query in a mine, and autogenerate the code you need to run that query in the client. You can get example Java web service API code either from a Template Query or the QueryBuilder:\n\n* From the QueryBuilder - after creating or editing a query, click the \"Java\" link in the Actions section below the query details.\n* From a Template Query form - click the \"Java\" link below the template form.\n\n\n## Examples\n\nWe provide the following sample programs to demonstrate ways to use the services:\n\n### Query client\n\nThe QueryClient demonstrates the use of the InterMine Query Web Service.\nThis resource can be used to perform arbitrary, complex queries over\nthe full set of data in the InterMine data warehouse.\n\nThis example displays the first 100 Drosophila melanogaster genes sorted by the FlyBase identifier.\n\n```\n ./gradlew execute -PmainClass=samples.QueryClient\n```\n\n### Template client\n\nThe TemplateClient demonstrates the use of the InterMine Template Web Service. \nThis resource can be used to automate access to the predefined queries \nwhich an InterMine data warehouse has made available.\n   \nThis example returns the first 100 predicted orthologues between two organisms sorted by FlyBase gene identifier.\n\n```\n ./gradlew execute -PmainClass=samples.TemplateClient\n```\n\n### List client\n\nThe ListClient demonstrates the use of the InterMine List Web Service. \n\nThis example fetches all public lists containing the FBgn0000606 gene.\n\n```\n ./gradlew execute -PmainClass=samples.ListClient\n ```\n\n### Overlaps example\n\nThis example demonstrates how you can query for overlapping features for the given coordinates.\n\n```\n./gradlew execute -PmainClass=samples.OverlapsExample --args=\"2L:14615455..14619002 2R:5866646..5868384 3R:2578486..2580016\"\n```\n\n### GenesFinder client\n\n\nThe GenesFinder demonstrates the use of command line arguments,\nwith a query client fetching Genes or\nSequenceFeatures located at specific positions with some tolerance. You can use\nthe included sample-input.txt to try this client:\n\n```\n ./gradlew execute -PmainClass=samples.GenesFinder --args=\"--sample-data\"\n ```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fintermine-ws-java-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintermine%2Fintermine-ws-java-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fintermine-ws-java-docs/lists"}