Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhewedy/onesignal-client
https://github.com/mhewedy/onesignal-client
onesignal onesignal-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhewedy/onesignal-client
- Owner: mhewedy
- Created: 2019-10-20T19:41:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T09:17:00.000Z (over 5 years ago)
- Last Synced: 2024-10-26T13:07:18.154Z (3 months ago)
- Topics: onesignal, onesignal-api
- Language: Go
- Size: 99.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/mhewedy/onesignal-client.svg?branch=master)](https://travis-ci.org/mhewedy/onesignal-client)
### Usage
1. Create file with name `playerids.txt` contains player IDs separated by new lines.
2. Issue the command:
```shell script
APP_ID= ./onesignal-client<.exe|.mac|.linux>
```
example to run on mac:
```shell script
APP_ID=3e64a763-0557-4094-9bbb-345fded09cd9 ./onesignal-client.mac '{"isApproved": true}'
```example to run on linux:
```shell script
APP_ID=3e64a763-0557-4094-9bbb-345fded09cd9 ./onesignal-client.linux '{"isApproved": "", "isVerfied": true}'
```see [onesignal docs](https://documentation.onesignal.com/reference#edit-device) for more about tags
### Downloads:
[Windows](https://github.com/mhewedy/onesignal-client/releases/download/v5.0/onesignal-client.exe)
|[Mac](https://github.com/mhewedy/onesignal-client/releases/download/v5.0/onesignal-client.mac)
|[Linux](https://github.com/mhewedy/onesignal-client/releases/download/v5.0/onesignal-client.linux)