{"id":15007683,"url":"https://github.com/alexandrecoulay/simple-twitch-api","last_synced_at":"2025-07-25T05:15:27.800Z","repository":{"id":44514065,"uuid":"305738746","full_name":"alexandrecoulay/simple-twitch-api","owner":"alexandrecoulay","description":"Simple way to interact with the Twitch helix API","archived":false,"fork":false,"pushed_at":"2022-03-19T10:24:00.000Z","size":200,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T02:46:07.070Z","etag":null,"topics":["helix","helix-api","nodejs","nodejs-api","npm","npm-module","npm-package","npmjs","simple","twitch","twitch-api","twitch-api-helix"],"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/alexandrecoulay.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-20T14:41:24.000Z","updated_at":"2023-08-21T15:27:30.000Z","dependencies_parsed_at":"2022-09-06T21:41:35.209Z","dependency_job_id":null,"html_url":"https://github.com/alexandrecoulay/simple-twitch-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrecoulay%2Fsimple-twitch-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrecoulay%2Fsimple-twitch-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrecoulay%2Fsimple-twitch-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrecoulay%2Fsimple-twitch-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandrecoulay","download_url":"https://codeload.github.com/alexandrecoulay/simple-twitch-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219856362,"owners_count":16556084,"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":["helix","helix-api","nodejs","nodejs-api","npm","npm-module","npm-package","npmjs","simple","twitch","twitch-api","twitch-api-helix"],"created_at":"2024-09-24T19:13:22.497Z","updated_at":"2024-10-12T08:04:10.548Z","avatar_url":"https://github.com/alexandrecoulay.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\u003cbr /\u003e\n\u003ch1\u003eSIMPLE TWITCH API\u003c/h1\u003e\n\u003cbr /\u003e\n\u003cp\u003e\n\u003ca  href=\"https://www.npmjs.com/package/simple-twitch-api\"\u003e\u003cimg  src=\"https://img.shields.io/npm/v/simple-twitch-api.svg?maxAge=3600\"  alt=\"NPM version\" /\u003e\u003c/a\u003e \u003ca  href=\"https://www.npmjs.com/package/simple-twitch-api\"\u003e\u003cimg  src=\"https://img.shields.io/npm/dt/simple-twitch-api.svg?maxAge=3600\"  alt=\"NPM downloads\" /\u003e\u003c/a\u003e \u003ca  href=\"https://www.npmjs.com/package/simple-twitch-api\"\u003e\u003cimg  alt=\"Snyk Vulnerabilities for npm package\"  src=\"https://img.shields.io/snyk/vulnerabilities/npm/simple-twitch-api\"\u003e\u003c/a\u003e \u003ca  href=\"https://www.npmjs.com/package/simple-twitch-api\"\u003e\u003cimg  alt=\"Snyk Vulnerabilities for npm package\"  src=\"https://img.shields.io/bundlephobia/min/simple-twitch-api\"\u003e\u003c/a\u003e \u003ca  href=\"https://www.npmjs.com/package/simple-twitch-api\"\u003e\u003cimg  alt=\"Snyk Vulnerabilities for npm package\"  src=\"https://img.shields.io/npm/l/simple-twitch-api\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n  \nA simpler way to interact with the Twitch API (helix version : https://dev.twitch.tv/docs/api/reference) write in Typescript\n\n### Roadmap :\n - [x] TypeScript Support\n - [x] Basic Get and Events\n - [ ] All Get requests\n - [x] All EventSub\n - [ ] All Posts Request\n - [ ] All Put Request\n\n### Support :\n```\n- ES5\n- ES6\n- typescript (you don't need to install another package to work with TS).\n```\n  \n\n## Install\n\n```\n$\tnpm install simple-twitch-api\n```\n```\n$\tyarn add simple-twitch-api\n```\n\n## Example\n\n```js\nimport Twitch from 'simple-twitch-api';\nimport { CLIENT_ID, CLIENT_SECRET } from \"./config.json\";\n\nconst SCOPES = \"user:read:email\";\n\nasync function script() {\n    const request = await twitch.getToken(CLIENT_ID, CLIENT_SECRET, SCOPES);\n\n    const token = request.access_token;\n\n    const client = new twitch.default({\n        twitch_client_id: CLIENT_ID,\n        token: token\n    });\n\n    const get_streams = await client.stream.fetch({\n        user_login: [\n            \"alex_off\"\n        ]\n    })\n\n   console.table(get_streams.data);\n}\n\nscript()\n\n```\n\n## Maintainers\n\n  \n\n- [Coulay Alexandre](https://github.com/alexandrecoulay)\n\n  \n\n## License\n\n  \n\n[MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrecoulay%2Fsimple-twitch-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandrecoulay%2Fsimple-twitch-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrecoulay%2Fsimple-twitch-api/lists"}