https://github.com/vox-humana/appreviewpostman
App Store reviews from all countries formatted, translated and delivered 📬
https://github.com/vox-humana/appreviewpostman
appstore swift swift-server tamtam telegram watson-translator
Last synced: 5 months ago
JSON representation
App Store reviews from all countries formatted, translated and delivered 📬
- Host: GitHub
- URL: https://github.com/vox-humana/appreviewpostman
- Owner: vox-humana
- License: mit
- Created: 2020-07-13T11:36:51.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T02:49:34.000Z (8 months ago)
- Last Synced: 2025-01-19T20:03:26.583Z (5 months ago)
- Topics: appstore, swift, swift-server, tamtam, telegram, watson-translator
- Language: Swift
- Homepage:
- Size: 91.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://developer.apple.com/swift)
# App Store Reviews Postman
Swift script that checks new app store reviews in every App Store country, formats them right and sends into your favourite messenger via HTTP POST hook.
In this example postman sends two latest [Github iOS app](https://apps.apple.com/app/github/id1477376905) reviews from 🇸🇪Sweden and 🇦🇺Australian App Store to a [Telegram](https://telegram.org) channel:
```
postman 1477376905 --countries=au,se
--post-url=https://api.telegram.org/bot${TOKEN}/sendMessage
--template='{"chat_id": "'${CHAT_ID}'", "text": "{{stars}}\n{{message}}\n{{country_flag}} {{author}}"}'
```
> ★★★★★
> GitHub is by far the best, not only because it’s the only one out there to offer a great mobile app (where you can even browse the source code) but also because its UI is sooo gooood!!!!!
> 🇦🇺 ph7enryThe same use case but posting in [TamTam](https://tamtam.chat) channel instead:
```
postman 1477376905 --countries=au,se
--post-url="https://botapi.tamtam.chat/messages?access_token=${TOKEN}&chat_id=${CHAT_ID}"
--template='{"text": "{{stars}}\n{{message}}\n{{country_flag}} {{author}}"}'
```### Full usage
```
USAGE: postman [--countries ] --template --post-url [--storage-file ] [--translator ]ARGUMENTS:
App identifierOPTIONS:
--countries Comma-separated list of two-letter country codes according to 'ISO 3166-1 alpha-2'(default: all countries)
--template Mustache template for formatting reviews.
Supported keys: author, country, country_flag, message, translated_message, stars
--post-url Callback url for sending formatted messages
--storage-file
Last sent reviews file path
--translator
IBM Language Translator url and apikey in {url},{apikey} format
-h, --help Show help information.
```