Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technohippy/parsecom-notifier
Register many parse.com pushes at onece
https://github.com/technohippy/parsecom-notifier
Last synced: 21 days ago
JSON representation
Register many parse.com pushes at onece
- Host: GitHub
- URL: https://github.com/technohippy/parsecom-notifier
- Owner: technohippy
- License: mit
- Created: 2014-12-02T07:24:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-17T09:27:28.000Z (about 10 years ago)
- Last Synced: 2024-04-24T21:02:09.107Z (10 months ago)
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# parsecom-notifier
You can register many pushes at once.
## Installation
$ gem install parsecom-notifier
If you are using rbenv, please don't forget call rehash
$ rbenv rehash
## Usage
Set environment variables to connect parse.com
export PARSE_APPLICATION_ID="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export PARSE_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export PARSE_MASTER_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Create a file describing about pushes in yaml format. For instance:
message: Hello from parsecom-notifier
pushes:
-
at: 2014-12-02T15:00:00+09:00
conditions:
createdAt:
from: 2014-10-01T00:00:00Z
-
at: 2014-12-02T15:20:00+09:00
conditions:
createdAt:
from: 2014-07-18T10:51:00Z
to: 2014-09-30T23:59:59ZCall parsecom-notify command with the file.
$ parsecom-notify pushes.yaml