{"id":21317850,"url":"https://github.com/adebsalert/app-review-to-slack","last_synced_at":"2025-07-12T02:32:59.319Z","repository":{"id":57182596,"uuid":"462225269","full_name":"AdebsAlert/app-review-to-slack","owner":"AdebsAlert","description":"Node.js library written in TypeScript for sending App Store app reviews to Slack.","archived":false,"fork":false,"pushed_at":"2022-02-23T23:04:51.000Z","size":21,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-20T07:10:04.253Z","etag":null,"topics":["app-reviews","app-store","messaging","nodejs","slack"],"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/AdebsAlert.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}},"created_at":"2022-02-22T09:28:07.000Z","updated_at":"2023-10-30T13:30:56.000Z","dependencies_parsed_at":"2022-09-11T22:40:24.061Z","dependency_job_id":null,"html_url":"https://github.com/AdebsAlert/app-review-to-slack","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/AdebsAlert%2Fapp-review-to-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fapp-review-to-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fapp-review-to-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdebsAlert%2Fapp-review-to-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdebsAlert","download_url":"https://codeload.github.com/AdebsAlert/app-review-to-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225787465,"owners_count":17524108,"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":["app-reviews","app-store","messaging","nodejs","slack"],"created_at":"2024-11-21T19:09:10.859Z","updated_at":"2024-11-21T19:09:11.512Z","avatar_url":"https://github.com/AdebsAlert.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# app-review-to-slack\n\n[Node.js](https://nodejs.org/) library written in [TypeScript](https://www.typescriptlang.org/) for sending [App Store](https://itunes.apple.com/us/genre/ios/id36) app reviews to [Slack](https://slack.com/).\n\n## Installation\n\n```sh\nnpm install app-reviews-to-slack\n```\n\n## Usage\n\n```js\nvar reviews = require('app-reviews-to-slack')\nconst config = {\n    appId: '112233445', // apple app ID\n    appName: 'Test App IOS', //name of your app\n    region: 'ng', // app region\n    slackHook: 'https://hooks.slack.com/services/T00000000/B00000000/token', // slack webhook\n    store: 'app-store', // Only apple app-store is available currently\n    botUsername: 'slackBot', // name of slack app - optional\n    botIcon: 'null', // url to slack app icon - optional\n    channel: 'slack', // channel to send the message to - optional\n    interval: 60, // fetch interval - optional\n}\n\nreviews.start(config)\n```\n\n## start(options) -- Available options\n\n - `slackHook`: REQUIRED, URL to an incoming Slack webhook.\n - `appId`: REQUIRED, ID of an app in App Store or Google Play, e.g. `123456789` or `com.my.app`.\n - `region`: Two-letter country code for App Store (e.g. `us`), or two-letter language code for Google Play (e.g. `en`).\n - `interval`: How often the feed should be queried, in seconds. **Default**: `3600`\n - `debug`: Set to `true` to log debug information and send welcome message to Slack. **Default**: `false`\n - `channel`: Which channel to post to, set to override channel set in Slack.\n - `store`: To explicitly set the store, `app-store` or `google-play`. Google play implementation is still ongoing\n - `botUsername`: Set to override the default bot username set in Slack.\n - `botIcon`: Set to override the default bot icon set in Slack.\n - `appName`: Set to override the app name fetched from the reviews provider.\n - `appIcon`: Set to override the app icon fetched from the reviews provider.\n - `appLink`: Set to override the app link fetched from the reviews provider.\n\n\n\n### More complex setup\n\nExample that sends reviews for different appsId and to different channels. Can be extended with any combination of the options (see below).\n\n```js\nvar reviews = require('app-reviews-to-slack')\n// store the appIds and channels in an apps array\nvar apps = [\n  {\n    appId: '123456789',\n    channel: '#channel'\n  },\n  {\n    appId: '123456780',\n    channel: '#bugs'\n  }\n]\n\n//loop through each app\nfor (var i = 0; i \u003c apps.length; i++) {\n  var app = apps[i]\n  reviews.start({\n    slackHook: 'https://hooks.slack.com/services/T00000000/B00000000/token',\n    appId: app.appId,\n    channel: app.channel\n  })\n}\n```\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadebsalert%2Fapp-review-to-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadebsalert%2Fapp-review-to-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadebsalert%2Fapp-review-to-slack/lists"}