unusorin / pushbullet
Pushbullet SDK
dev-master
2013-12-24 10:24 UTC
Requires
- guzzle/guzzle: dev-master
This package is not auto-updated.
Last update: 2024-11-19 02:36:39 UTC
README
#PushBullet PHP SDK
Install it via composer:
"require":
{
"sorin/pushbullet":"dev-master"
}
and use it:
<?php
use unusorin\PushBullet\DataProvider;
use unusorin\PushBullet\DeviceManager;
require_once 'vendor/autoload.php';
$deviceManager = new DeviceManager(
new DataProvider('YOUR_API_KEY')
);
$nexus4 = $deviceManager->get('YOUR_DEVICE_ID');
//getAll to return all available devices
var_dump($nexus4->sendNote('Ubuntu server', 'Crash'));
//also available: sendLink, sendAddress
//sendFile & sendList available soon