{"id":19837351,"url":"https://github.com/e-e-e/arena-ts","last_synced_at":"2025-05-01T18:30:38.845Z","repository":{"id":39756268,"uuid":"297131345","full_name":"e-e-e/arena-ts","owner":"e-e-e","description":"A client library for interacting with the are.na api","archived":false,"fork":false,"pushed_at":"2024-02-14T11:08:37.000Z","size":468,"stargazers_count":37,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T16:54:32.978Z","etag":null,"topics":["arena","javascript","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://e-e-e.github.io/arena-ts/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e-e-e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-09-20T17:48:04.000Z","updated_at":"2025-04-19T19:06:20.000Z","dependencies_parsed_at":"2023-11-13T08:26:31.864Z","dependency_job_id":"c4e3c1f7-2a77-453b-9c98-1b590517a6c2","html_url":"https://github.com/e-e-e/arena-ts","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Farena-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Farena-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Farena-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-e-e%2Farena-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-e-e","download_url":"https://codeload.github.com/e-e-e/arena-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251924594,"owners_count":21665998,"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":["arena","javascript","nodejs","typescript"],"created_at":"2024-11-12T12:14:11.926Z","updated_at":"2025-05-01T18:30:38.176Z","avatar_url":"https://github.com/e-e-e.png","language":"TypeScript","readme":"# arena-ts\n\n[![Build Status](https://travis-ci.org/e-e-e/arena-ts.svg?branch=master)](https://travis-ci.org/e-e-e/arena-ts)\n[![Coverage Status](https://coveralls.io/repos/github/e-e-e/arena-ts/badge.svg?branch=master)](https://coveralls.io/github/e-e-e/arena-ts?branch=master)\n\nA typescript client for [are.na](are.na). Compatible in node and browser environments.\n\nMinimum node version 18.\n\nPrior art: [arena-js](https://github.com/ivangreene/arena-js).\n\n**Note:** This is an unofficial client and typing information has been derived by comparing the official documentation\nwith response types from use. These may change over time or depending on context, if you notice any discrepancies please\nlet us know. Contributions are welcome.\n\n### Installation\n\n```bash\n// using npm\nnpm install arena-ts\n// using yarn\nyarn add arena-ts\n\n```\n\n### Usage\n\n##### Simple Example:\n\n```ts\nimport {ArenaClient} from 'arena-ts';\n\nconst client = new ArenaClient();\n\nclient.channels().then(console.log);\n```\n\n### API\n\nCheck out the complete [API Documentation](https://e-e-e.github.io/arena-ts/).\n\nThis is based on [Arena's Restful API](dev.are.na).\n\nNote: some undocumented endpoints have been added:\n\n- `client.me()` - gets authenticated users details\n- `client.group('groupname').get()` - get group details\n- `client.group('groupname').channels()` - group channels\n- `client.block(123).comments()` - fetch block comments\n- `client.block(123).addComment('comment')` - add new comment to block\n- `client.block(123).deleteComment(123)` - delete comment by id\n- `client.block(123).updateComment(123, 'new comment')` - update comment by id\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-e-e%2Farena-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-e-e%2Farena-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-e-e%2Farena-ts/lists"}