{"id":20930624,"url":"https://github.com/intermine/imjs","last_synced_at":"2025-05-13T19:32:30.761Z","repository":{"id":6958399,"uuid":"8210606","full_name":"intermine/imjs","owner":"intermine","description":"InterMine Generic WebService Client Library","archived":false,"fork":false,"pushed_at":"2022-12-30T17:42:40.000Z","size":3668,"stargazers_count":8,"open_issues_count":27,"forks_count":11,"subscribers_count":11,"default_branch":"dev","last_synced_at":"2024-10-10T23:34:23.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"www.intermine.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intermine.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-15T00:31:45.000Z","updated_at":"2023-01-28T20:25:33.000Z","dependencies_parsed_at":"2023-01-13T14:11:46.358Z","dependency_job_id":null,"html_url":"https://github.com/intermine/imjs","commit_stats":null,"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fimjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fimjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fimjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fimjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intermine","download_url":"https://codeload.github.com/intermine/imjs/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225254704,"owners_count":17445226,"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","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:00.144Z","updated_at":"2024-11-18T21:35:05.501Z","avatar_url":"https://github.com/intermine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"IMJS\n====\n\n[![Build Status][status]][ci]\n\nInterMine Web-Services Communication Client Library\n\nSYNOPSIS\n========\n\n\u003c!-- Execute scripts in the synopsis with test/check-synopsis.sh --\u003e\n```javascript\n// Find and print all the exons associated with eve in D. melanogaster\n\n// If running in node.js, the following line will be necessary:\nvar intermine = require('imjs');\n\nvar flymine   = new intermine.Service({root: 'https://www.flymine.org/flymine/service'});\nvar query     = {\n  from: 'Gene',\n  select: [\n    'exons.symbol',\n    'chromosome.primaryIdentifier',\n    'exons.chromosomeLocation.start',\n    'exons.chromosomeLocation.end'\n  ],\n  where: {\n    symbol: 'eve',\n    organism: {lookup: 'D. melanogaster'}}\n};\n\nflymine.rows(query).then(function(rows) {\n  console.log(\"No. of exons: \" + rows.length);\n  rows.forEach(function printRow(row) {\n    console.log(\"[\" + row[0] + \"] \" + row[1] + \":\" + row[2] + \"..\" + row[3]);\n  });\n});\n```\n\nDESCRIPTION\n===========\n\nThis library abstracts the functionality of InterMine's web service layer. It is meant for\nthose wishing to build in communication layers to intermine servers, build graphical widgets\non top of the webservice APIs, or perform client side scripting.\n\nThe purpose of this library is to expose a uniform interface to the web-service API for both\nnode.js and browser based programming, wrapping some of the minor unpleasantness of dealing with\nraw HTTP requests, as well as the more major issue of dealing with the path-query format, which\nis complex.\n\nFunctionality\n--------------\n\n * Data Queries\n\n   Users may make arbitrarily complex queries against an intermine data-warehouse. See the\n   [Query][3] class for more information.\n\n * List Management\n\n   Users may authenticate to their accounts (through the use of web-service tokens) and then\n   have full freedom to create, edit and delete lists they have access to. See the [List][2] class\n   for more information.\n\n * Analysis\n\n   Users may perform enrichment analysis over lists they have access to. See [Service#enrichment][4]\n   and [List#enrichment][5] for more information.\n\n * Data Model Introspection\n\n   The structure of the data available in the data model is available for instropection through\n   the [Model][1] class. This is particularly useful for constructing dynamic data-driven interfaces.\n\nDOCUMENTATION\n=============\n\nFor API documentation see [http://intermine.org/imjs/](http://intermine.org/imjs/). For general usage\ndocumentation and information about InterMine, see\n\u003chttp://intermine.org/developers\u003e.\n\n### Developing IMJS\n\nTo build the project see [developing.md](developing.md) and to release a new version, see [release-procedure.md](release-procedure.md)\n\nLICENCE\n=======\n\nAll intermine code is free software released under the LGPL licence \u003chttp://www.gnu.org/copyleft/lesser.html\u003e.\nYou are free to modify and redistribute this software.\n\nThe copyright is held by Alex Kalderimis \u003calex@intermine.org\u003e.\n\n\nSUPPORT\n=======\n\nFor help with this library, or the use of intermine in general, please contact \u003cdev@intermine.org\u003e.\n\n[status]: https://travis-ci.org/intermine/imjs.svg?branch=master\n[ci]: https://travis-ci.org/intermine/imjs\n[1]: classes/Model.html\n[2]: classes/List.html\n[3]: classes/Query.html\n[4]: classes/Service.html#enrichment-instance\n[5]: classes/List.html#enrichment-instance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fimjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintermine%2Fimjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fimjs/lists"}