Add variables description

This commit is contained in:
Fabian Affolter 2015-10-13 23:13:21 +02:00
parent d7ff6caf7d
commit df55293748

View File

@ -17,18 +17,21 @@ The Instapush [Getting Started page](https://instapush.im/home/start/) will guid
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
notify: notify:
name: NOTIFIER_NAME name: NOTIFIER_NAME
platform: instapush platform: instapush
# Get those by creating a new application, event, and tracker on https://instapush.im api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
api_key: ABCDEFGHJKLMNOPQRSTUVXYZ app_secret: ABCDEFGHJKLMNOPQRSTUVXYZ
app_secret: ABCDEFGHJKLMNOPQRSTUVXYZ event: ABCDEFGHJKLMNOPQRSTUVXYZ
event: ABCDEFGHJKLMNOPQRSTUVXYZ tracker: ABCDEFGHJKLMNOPQRSTUVXYZ
tracker: ABCDEFGHJKLMNOPQRSTUVXYZ
``` ```
Setting the optional parameter `name` allows multiple notifiers to be created. Configuration variables:
The default value is `notify`. The notifier will bind to the service
`notify.NOTIFIER_NAME`. - **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`.
- **api_key** (*Required*): Your API key for Instapush.
- **app_secret** (*Required*): The secret for your created application.
- **event** (*Required*): TThe event
- **tracker** (*Required*): The name of tracker inside Instapush.
To retrieve those values for existing settings, log into your account at https://instapush.im and go to your **Dashboard**. Then click **APPS** tab, choose an app, and check the **Basic Info** section. The *Application ID* is the ``api_key`` and ``app_secret`` is the *Application Secret*. To retrieve those values for existing settings, log into your account at https://instapush.im and go to your **Dashboard**. Then click **APPS** tab, choose an app, and check the **Basic Info** section. The *Application ID* is the ``api_key`` and ``app_secret`` is the *Application Secret*.