1.1.0 • Published 3 years ago

pushy-bulk-topic-subscriber v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

pushy-bulk-topic-subscriber

This package is a CLI applications that automatically subscribe to topics into pushy application using json file with the data.

Usage

  1. Install the app using this command

    npm install -g pushy-bulk-topic-subscriber

  2. Run the application using the following command:

    pushy-blk-sub [DATA_FILE_PATH] [PUSHY_API_TOKEN]

The expected file dat is something like this

    [
        {"token": "DEVICE_TOKEN", "topicName": "TOPIC_TO_SUBSCRIBE"}
    ]

Max number of token topic pairs is 5000 record