PushBullet

PushBullet API

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/418543/879740/PushBullet.js

Aŭtoro
wdssmq
Versio
0.0.1.20201212112405
Kreita
2020/12/12
Ĝisdatigita
2020/12/12
Licenco
N/A

alexschneider/pushbullet-js: Client side javascript pushbullet

const objPB = window.PushBullet || {};
objPB.APIKey = "o.XXXXXXXXXXXXXXXXXXXX";
objPB.isGM = true;
objPB.push("link", null, null, {title: "<your title here>", url: "<your url here>", body: "<your optional body here>"}, function(err, res) {
  if(err) {
    throw err;
  } else {
    console.log(res);
  }
});