Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theden/ios-reviews-bot
SlackBot that automatically pulls new iOS reviews and posts them to a channel
https://github.com/theden/ios-reviews-bot
appstore appstore-api ios ios-reviews slackbot
Last synced: about 2 months ago
JSON representation
SlackBot that automatically pulls new iOS reviews and posts them to a channel
- Host: GitHub
- URL: https://github.com/theden/ios-reviews-bot
- Owner: TheDen
- Created: 2018-02-06T08:42:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-13T12:19:46.000Z (almost 6 years ago)
- Last Synced: 2024-05-30T01:18:27.462Z (8 months ago)
- Topics: appstore, appstore-api, ios, ios-reviews, slackbot
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iOS Reviews SlackBot
A slackbot that pulls the latest iOS/iTunes review for your application and posts it to slack!
## Requirements
* `python3`
* A valid slack webhook, i.e, of the form `https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX`
* `boto3` + `requests` (from `requirements.txt`)
* [python-lambda-local](https://github.com/HDE/python-lambda-local)## Running
Install the dev requirements:
```
pip3 install -r requirements-dev.txt
```The following variables are needed in the script:
* `SlackChannel`: The slack channel you want the bot to post to (`@username` for DMs).
* `SlackUsername`: The username the bot will use.
* `SlackEmoji`: The emoji the slackbot will use.
* `SlackWebhook`: The Slack WebHook is pulled from AWS's SSM using boto3—the parameter name is set as `SSMParameter`
* `redispw`: The redis password is pulled from AWS's SSM, parameter name is assumed to be `redispw-SSMparam`To deploy the lambda function via `python-lambda-local`
```
python3 -m venv .
. bin/activate
pip install python-lambda
pip install -r requirements.txt
lambda deploy
```