https://github.com/sgibb/pushjetr
An R interface to http://pushjet.io
https://github.com/sgibb/pushjetr
Last synced: about 1 month ago
JSON representation
An R interface to http://pushjet.io
- Host: GitHub
- URL: https://github.com/sgibb/pushjetr
- Owner: sgibb
- Created: 2016-08-07T15:43:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T15:53:00.000Z (almost 9 years ago)
- Last Synced: 2025-02-14T12:40:50.050Z (3 months ago)
- Language: R
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PushJetR
An R interface to http://pushjet.io. It is similar to
[RPushBullet](https://github.com/eddelbuettel/rpushbullet) and
[pushoverr](https://github.com/briandconnelly/pushoverr) but doesn't require any
registration.# Install
```r
devtools::install_github("sgibb/pushjetr")
```# Setup
Install the PushJet.io app from google play: https://play.google.com/store/apps/details?id=io.Pushjet.api
Before you can use `pushjetr` the first time you have to create a service
(channel) and store it in your .Rprofile:```r
## load pushjetr
library("pushjetr")## create a service (channel)
service <- createService("R")## store the private key in your .Rprofile
service$secret
# e8e5d756228686edbe6dd31d93edf9c9
# put the following in your .Rprofile (replace the secret with your own token):
# options(pushjetr.secret="e8e5d756228686edbe6dd31d93edf9c9")## start the PushJet app on your phone and subscribe to the channel via
## "Enter Token" and insert the following token
service$public## or use "Scan QR-Code"
library("qrcode")
qrcode_gen(service$public)
```# Usage
```r
pjmsg("New Message", "Title of the message", level=3)
```