Skip to main content

Mobile reviews aggregator

Project description

https://img.shields.io/travis/coagulant/critics.svg https://img.shields.io/coveralls/coagulant/critics.svg https://img.shields.io/pypi/v/critics.svg https://img.shields.io/badge/licence-BSD-blue.svg https://img.shields.io/badge/status-beta-yellow.svg
Usage: critics [OPTIONS]

  Notify about new reviews in AppStore and Google Play in slack.

  Launch command using supervisor or using screen/tmux/etc. Reviews are
  fetched for multiple apps and languages in --beat=300 interval.

Options:
  --ios TEXT                   ios app id, e.g. 122434343
  --ios-channel TEXT           Slack channel for ios notifications, optional
  --android TEXT               Android app name, e.g. "com.rovio.angrybirds"
  --android-channel TEXT       Slack channel for android notifications, optional
  --language TEXT              ISO 639-1 languages of review [default: system locale]
  --slack-webhook TEXT         Slack webhook absolute URL, required
  --parse-max-entries INTEGER  Number of feed entries to look into [default: 10]
  --beat INTEGER               Number of seconds between polling feed [default: 300]
  --verbose / --short
  --notify / --no-notify
  --persist / --no-persist
  --model PATH
  --daemonize / --run-once
  --version
  --help                       Show this message and exit.

Examples

Track English and Russian reviews for iOS and Android Angry Birds apps and post them to separate channels:

critics --ios=343200656 --android=com.rovio.angrybirds --slack-webhook=YOUR_SLACK_WEBHOOK_URL \
        --language=en --language=ru \
        --ios-channel="#ios_reviews" --android-channel="#android_reviews"

Previous command, but using env variables:

CRITICS_IOS=343200656 CRITICS_ANDROID=com.rovio.angrybirds CRITICS_SLACK_WEBHOOK=YOUR_SLACK_WEBHOOK_URL \
CRITICS_LANGUAGE="en ru" CRITICS_IOS_CHANNEL="#ios_reviews" CRITICS_ANDROID_CHANNEL="#android_reviews" \
critics

For demo purpose (does not require slack): parse ios feed for MyBook app and print reviews in stdout:

critics --ios=556540446 --run-once --no-notify --no-persist --verbose

Changelog

0.2.0 (2015-03-19)

  • Multiple languages support

  • English and Russian translations

  • Usable url for iOS review

0.1.0 (2015-03-09)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

critics-0.2.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

critics-0.2.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file critics-0.2.0.tar.gz.

File metadata

  • Download URL: critics-0.2.0.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for critics-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c0d325967b73cff3d152e54dfaf4c590c6a2147a3905283522ff1d15eb19b26f
MD5 38c8bf72235d8b74faeb1d1bc3af78e5
BLAKE2b-256 24bfa9061105eb0955257232e25ab948acaa7551b42215fdfe113fb862428cb4

See more details on using hashes here.

File details

Details for the file critics-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for critics-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57e1d8b1c3e719eb093eb256d6fa9f2af1065bc378f04faef5905ff5bde126cd
MD5 ea8e1bda26a545a746daa62e1503e14a
BLAKE2b-256 f0fa566f106db091ec2080ca858454e318c084c7e8489de1da437333cbc9e0a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page