Skip to content

takami228/notify-store-score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notify store score

This application post your mobile application's scores distributed in Goole Play and AppStore using npm modules(google-play-scraper, app-store-scraper).

Requirements

Settings

Set envirment variables in .env file.

name value Example
ANDROID_APP_ID Your Android App Id com.example.yourapp
IOS_APP_ID Your iOS App Id 123456789 (without prefix "id")
DIALECT Notification Chat Application slack or mattermost
WEBHOOK_URL slack or mattermost webhook url https://hooks.slack.com/services/xxxx/yyyy
https://mattermost.hostname/hooks/xxxxxx
UERNAME Notification usename in your Chat Application StoreScoreNotifier
CHANNEL Notification Channel in your Chat Application bot
# .env file
ANDROID_APP_ID=com.example.yourapp
IOS_APP_ID=123456789
DIALECT=slack
WEBHOOK_URL=https://hooks.slack.com/services/xxxx/yyyy
USERNAME=StoreScoreNotifier
CHANNEL=bot

How to run

Install packages and run apps.

# install packages
$  install

# run
$ node app.js

Daily CI settings

You can set this application in CI Runner and set daily job.

GitLab CI Sample

dailyScoreNotifier:
  stage: build
  tags:
    - ci-runner-name
  script:
    - npm install
    - node app.js
  only:
    - schedules

ToDo

  • Dockerize application

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published