SanYeCao-Nonebot/src/configs/api_config_example.py

67 lines
1.4 KiB
Python
Raw Normal View History

2025-02-20 09:33:58 +00:00
app_id="<KEY>"
bot_account= "<KEY>"
"""
谷歌邮箱配置
"""
google_smtp_server = "smtp.gmail.com"
google_email ="xxxxxx@gmail.com"
google_password = "1234567891234567" #16位应用码
"""
qq 邮箱配置
"""
qq_smtp_server = "smtp.qq.com"
qq_email = "xxxxxxxxxx@qq.com"
qq_password = "123456789123456789" #应用码
2025-02-20 09:33:58 +00:00
"""
图床配置
"""
# SMMS图床相关配置
smms_token= "<KEY>" # sm.ms图床的token
smms_image_upload_history= "https://sm.ms/api/v2/upload_history" # sm.ms图床获取上传图片历史API地址
# 聚合图床相关配置
ju_he_token= "<KEY>" # 聚合图床的token
ju_he_image_list= "https://api.superbed.cn/timeline" # 聚合图床获取上传图片历史API地址
#随机图 anosu
anosu_url = "https://image.anosu.top/pixiv/json"
# 搜番/acg api
animetrace_url = "https://api.animetrace.com/v1/search"
2025-02-20 09:33:58 +00:00
"""
AI
"""
admin_password= "123456" # 默认注册管理员密码
# 图灵机器人相关配置
v3url= "https://api.vveai.com/v1/chat/completions"
v3key= "<KEY>"
# DeepSeek相关配置
deepseek_url= "https://api.deepseek.com"
deepseek_key= "<KEY>"
#硅基流动
silicon_flow_key = "<KEY>"
2025-02-20 09:33:58 +00:00
"""
Wenku8账号
"""
wenku8_username = "<user_name>"
wenku8_password = "<passwd>"
"""
多米HTTP代理api
"""
proxy_api = "<KEY>"
"""
二维码生成 API 参数
"""
qrserver_url = "https://api.qrserver.com/v1/create-qr-code/"
qrserver_size= "200x200"
"""
CodeForces API
"""
codeforces_key = "<KEY>"
codeforces_secret = "<KEY>"