Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Apodead/BuaaAmmeterBot
北航电表查询 Telegram Bot
https://github.com/Apodead/BuaaAmmeterBot
Last synced: about 2 months ago
JSON representation
北航电表查询 Telegram Bot
- Host: GitHub
- URL: https://github.com/Apodead/BuaaAmmeterBot
- Owner: Apodead
- Created: 2019-05-14T21:32:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T04:55:19.000Z (over 5 years ago)
- Last Synced: 2024-08-01T10:16:01.875Z (5 months ago)
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-buaa - GitHub - Apodead/BuaaAmmeterBot: 北航电表查询 Telegram Bot
README
# 北航电表查询 Telegram Bot
欢迎大家贡献/重构~
## 依赖项
* python 3.7
* python-telegram-bot == 12.0.0b1
* pydblite
* pyquery
* requests## 使用说明
主程序是 tg.py 。运行时请给予工作目录的相应权限。
请在工作目录下建立 config.json 文件,并按以下格式编辑:
```json
{
"BotToken":"<此处填写你的 botToken>",
"BaseURL":"https://api.telegram.org/bot",
"DBFile":"data.sqlite3"
}
```由于程序设计漏洞,正式工作前请务必手动调用一次 db.py 中的 updateIdData() 函数。