This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//このプログラムは kunalvarma05/dropbox-php-sdk を用いて、 | |
//PHPでDropBoxを扱うためのラッパークラスです。 | |
//参考:https://github.com/kunalvarma05/dropbox-php-sdk | |
use Kunnu\Dropbox\Dropbox; | |
use Kunnu\Dropbox\DropboxApp; | |
use Kunnu\Dropbox\DropboxFile; | |
use Kunnu\Dropbox\Exception; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//LINEMessagingAPIに接続するラッパークラスです。 | |
//line/line-bot-sdk-php を利用しています。 | |
//参考:https://github.com/line/line-bot-sdk-php | |
class LineMessage { | |
private $httpClient; | |
private $bot; | |
private $channelAccessToken = 'your-channel-acccessToken'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//phantomjsを使って特定のWebサイトのスクショを取って保存するクラスです。 | |
//jonnnnyw/php-phantomjs のラッパー?ラッピング?したものです。 | |
//参考:https://github.com/jonnnnyw/php-phantomjs | |
use \JonnyW\PhantomJs\Client; | |
class ScreenShot{ | |
private $client; | |
private $request; | |
private $response; |