aaronbauman/tagbot
Composer 安装命令:
composer require aaronbauman/tagbot
包简介
Twitter bot to query license plate violations against PPA payment portal.
关键字:
README 文档
README
Tagbot is a Drupal module that negotiates between a twitter bot and PPA's payment form to provide information about unpaid traffic violations. Visit the bot live at https://twitter.com/HowsMyDrivingPA
Usage
Tag me (@HowsMyDrivingPA) and include vehicle information like this:
— Hows My Driving PA (@HowsMyDrivingPA) December 14, 2019
<state|province|territory>:<plate>, e.g. PA:abc1234
Contributing
Install tagbot on your Drupal site to start tinkering:
composer require aaronbauman/tagbot
Requirements
- A twitter developer account with OAuth creds
- A Drupal site, running cron as frequently as possible. (HowsMyDrivingPA runs every minute.)
Install
Define the following constants, e.g. in your settings.php file:
define('TAGBOT_CONSUMER_KEY', 'consumer key from twitter developer account');
define('TAGBOT_CONSUMER_SECRET', 'consumer secret...');
define('TAGBOT_ACCOUNT_TOKEN', 'oauth token for the account that will be the bot');
define('TAGBOT_ACCOUNT_SECRET', 'oauth secret for account that will be the bot');
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-12-26