{"id":19212757,"url":"https://github.com/riyavsinha/synapse-node-api","last_synced_at":"2025-08-25T01:33:29.122Z","repository":{"id":190499240,"uuid":"682716908","full_name":"riyavsinha/synapse-node-api","owner":"riyavsinha","description":"Unofficial NodeJS API client for Sage Bionetwork's Synapse service","archived":false,"fork":false,"pushed_at":"2023-09-17T00:34:03.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T16:56:53.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riyavsinha.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":"2023-08-24T19:13:50.000Z","updated_at":"2023-08-25T03:06:13.000Z","dependencies_parsed_at":"2023-08-24T23:15:59.538Z","dependency_job_id":"f7e2a0ee-d1f0-41bb-952d-52f11addd215","html_url":"https://github.com/riyavsinha/synapse-node-api","commit_stats":null,"previous_names":["riyavsinha/synapse-node-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/riyavsinha/synapse-node-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyavsinha%2Fsynapse-node-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyavsinha%2Fsynapse-node-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyavsinha%2Fsynapse-node-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyavsinha%2Fsynapse-node-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riyavsinha","download_url":"https://codeload.github.com/riyavsinha/synapse-node-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riyavsinha%2Fsynapse-node-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271991179,"owners_count":24854724,"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-24T02:00:11.135Z","response_time":111,"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-09T13:47:53.960Z","updated_at":"2025-08-25T01:33:29.098Z","avatar_url":"https://github.com/riyavsinha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# synapse-node-api\n\nThis is an unofficial API client for Sage Bionetwork's Synapse service. It is\nextremely limited in scope currently. Help is welcome to incrementally expand it.\n\n## Usage\n\n### Prerequisites\n\nYou must have a Synapse account and have created a Personal Access Token (PAT). It is recommended that you place this in a `.env` file to keep this secure.\n\n## Installation\n\n```\nnpm install synapse-node-api\n```\n\n### Initialization\n\n```\nimport SynapseClient from 'synapse-node-api';\n\nconst synapse = new SynapseClient(\u003cYOUR_PAT\u003e);\n\n// Example: getting all subdirectories of an entity\nsynapse.entity.children({parentId: 'syn123456', includeTypes: ['folder']})\n```\n\n## Supported Endpoints\n\n- Entity:\n  - List Children\n  - Get Child\n- File:\n  - Read contents\n- Search","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friyavsinha%2Fsynapse-node-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friyavsinha%2Fsynapse-node-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friyavsinha%2Fsynapse-node-api/lists"}