Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Urinx/WeixinBot
/ functions
Functions
206 in github.com/Urinx/WeixinBot
⨍
Functions
206
◇
Types & classes
12
↳
Endpoints
14
↓ 47 callers
Method
get
(self, section, option)
wxbot_project_py2.7/config/config_manager.py:26
↓ 28 callers
Function
echo
(str)
wxbot_project_py2.7/wechat/utils.py:82
↓ 14 callers
Function
post
@brief http post request @param url String @param params Dict, post params @param jsonfmt Bool, whether i
wxbot_project_py2.7/wechat/utils.py:134
↓ 11 callers
Function
get
@brief http get request @param url String @param api wechat api @return http response
wxbot_project_py2.7/wechat/utils.py:104
↓ 11 callers
Method
write
(self, s)
wxbot_demo_py3/weixin.py:1199
↓ 10 callers
Method
_get
(self, url: object, api: object = None, timeout: object = None)
wxbot_demo_py3/weixin.py:1098
↓ 10 callers
Method
_showMsg
(self, message)
wxbot_demo_py3/weixin.py:703
↓ 10 callers
Method
execute
@brief execute sql commands, return result if it has @param sql String @param value Tuple @return
wxbot_project_py2.7/db/mysql_db.py:151
↓ 10 callers
Function
run
(str, func, *args)
wxbot_project_py2.7/wechat/utils.py:88
↓ 9 callers
Method
_echo
(self, str)
wxbot_demo_py3/weixin.py:1066
↓ 9 callers
Method
execute
@brief execute sql commands, return result if it has @param sql String @param value Tuple @return
wxbot_project_py2.7/db/sqlite_db.py:143
↓ 8 callers
Method
_post
(self, url: object, params: object, jsonfmt: object = True)
wxbot_demo_py3/weixin.py:1128
↓ 7 callers
Method
TABLE_GROUP_USER_LIST
()
wxbot_project_py2.7/config/constant.py:141
↓ 7 callers
Method
_run
(self, str, func, *args)
wxbot_demo_py3/weixin.py:1055
↓ 7 callers
Method
create_table
@brief Creates a table in database @param table String @param cols String, the cols in table
wxbot_project_py2.7/db/mysql_db.py:81
↓ 6 callers
Method
TABLE_GROUP_LIST
()
wxbot_project_py2.7/config/constant.py:129
↓ 6 callers
Method
_saveFile
(self, filename, data, api=None)
wxbot_demo_py3/weixin.py:585
↓ 6 callers
Method
_searchContent
(self, key, content, fmat='attr')
wxbot_demo_py3/weixin.py:1176
↓ 6 callers
Function
search_content
@brief Search content from xml or html format @param key String @param content String @param fmat attr
wxbot_project_py2.7/wechat/utils.py:265
↓ 6 callers
Function
trans_emoji
@brief Transform emoji html text to unicode @param text String @return emoji unicode
wxbot_project_py2.7/wechat/utils.py:313
↓ 5 callers
Method
close
@brief close connection to database
wxbot_project_py2.7/db/mysql_db.py:192
↓ 5 callers
Method
flush
(self)
wxbot_demo_py3/weixin.py:1205
↓ 5 callers
Method
get_group_user_by_id
@brief get group user by user id @param user_id The id of user @param group_id The id of group @retu
wxbot_project_py2.7/wechat/wechat_apis.py:894
↓ 5 callers
Method
getpath
(self, dir)
wxbot_project_py2.7/config/config_manager.py:33
↓ 5 callers
Function
pickle_load
@brief Use pickle to load python object from file @param file The file @return python data
wxbot_project_py2.7/wechat/utils.py:253
↓ 5 callers
Function
pickle_save
@brief Use pickle to save python object into file @param data The pyhton data @param file The file
wxbot_project_py2.7/wechat/utils.py:240
↓ 5 callers
Function
save_file
@brief Saves raw data to file. @param filename String @param data Binary data @param dirName String @
wxbot_project_py2.7/wechat/utils.py:198
↓ 5 callers
Function
trans_coding
@brief Transform string to unicode @param data String @return unicode
wxbot_project_py2.7/wechat/utils.py:297
↓ 5 callers
Method
webwxuploadmedia
@brief upload image @param file_path String @return Dict: json
wxbot_project_py2.7/wechat/wechat_apis.py:498
↓ 4 callers
Method
_safe_open
(self, path)
wxbot_demo_py3/weixin.py:1048
↓ 4 callers
Method
delete_table
@brief Delete a table in database @param table String
wxbot_project_py2.7/db/mysql_db.py:93
↓ 4 callers
Method
getUserRemarkName
(self, id)
wxbot_demo_py3/weixin.py:661
↓ 4 callers
Method
get_group_by_id
@brief get basic info by group id @param group_id The id of group @return Dict: { 'Use
wxbot_project_py2.7/wechat/wechat_apis.py:930
↓ 4 callers
Function
mass_send
(method, data, func)
wxbot_project_py2.7/weixin_bot.py:174
↓ 4 callers
Method
send_text
@brief send text @param user_id String @param text String @return Bool: whether operation succee
wxbot_project_py2.7/wechat/wechat_apis.py:763
↓ 4 callers
Method
webwxsendmsg
(self, word, to='filehelper')
wxbot_demo_py3/weixin.py:442
↓ 4 callers
Method
webwxsync
@brief sync the messages @return Dict{}
wxbot_project_py2.7/wechat/wechat_apis.py:398
↓ 3 callers
Method
getUSerID
(self, name)
wxbot_demo_py3/weixin.py:697
↓ 3 callers
Method
get_run_time
@brief get how long this run @return String
wxbot_project_py2.7/wechat/wechat.py:161
↓ 3 callers
Method
insert
@brief Insert a row in table @param table String @param value Tuple
wxbot_project_py2.7/db/mysql_db.py:104
↓ 3 callers
Function
save_json
@brief Saves dict to json file. @param filename String @param data Dict @param dirName String @return
wxbot_project_py2.7/wechat/utils.py:216
↓ 3 callers
Method
select
@brief select all result from table @param table String @param field String @param condition S
wxbot_project_py2.7/db/mysql_db.py:126
↓ 3 callers
Method
start
(self)
wxbot_project_py2.7/wechat/wechat.py:59
↓ 2 callers
Method
_showQRCodeImg
(self, str)
wxbot_demo_py3/weixin.py:173
↓ 2 callers
Method
conf_factory
(self)
wxbot_project_py2.7/wechat/wechat_apis.py:62
↓ 2 callers
Method
get_user_by_id
@brief get all type of name by user id @param user_id The id of user @return Dict: { '
wxbot_project_py2.7/wechat/wechat_apis.py:850
↓ 2 callers
Method
handle_group_list
@brief handle group list & saved in DB @param group_list Array
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:51
↓ 2 callers
Method
handle_group_member_change
@brief handle group member changes & saved in DB @param group_id Dict @param member_list Dict
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:90
↓ 2 callers
Method
handle_group_member_list
@brief handle group member list & saved in DB @param member_list Array
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:67
↓ 2 callers
Method
handle_msg
@brief Recover from snapshot data. @param r Dict: message json
wxbot_project_py2.7/wechat/wechat.py:397
↓ 2 callers
Method
insertmany
@brief Insert many rows in table @param table String @param values Array of tuple
wxbot_project_py2.7/db/mysql_db.py:115
↓ 2 callers
Method
make_synckey
(self, dic)
wxbot_project_py2.7/wechat/wechat_apis.py:828
↓ 2 callers
Method
sendMsg
(self, name, word, isfile=False)
wxbot_demo_py3/weixin.py:916
↓ 2 callers
Method
send_emot
@brief send emotion @param user_id String @param file_path String @return Bool: whether operatio
wxbot_project_py2.7/wechat/wechat_apis.py:789
↓ 2 callers
Method
send_file
@brief send file @param user_id String @param file_path String @return Bool: whether operation s
wxbot_project_py2.7/wechat/wechat_apis.py:802
↓ 2 callers
Method
send_img
@brief send image @param user_id String @param file_path String @return Bool: whether operation
wxbot_project_py2.7/wechat/wechat_apis.py:776
↓ 2 callers
Function
split_array
(arr, n)
wxbot_project_py2.7/wechat/utils.py:362
↓ 2 callers
Method
synccheck
(self)
wxbot_demo_py3/weixin.py:399
↓ 2 callers
Method
waitForLogin
(self, tip=1)
wxbot_demo_py3/weixin.py:217
↓ 2 callers
Method
waitforlogin
@brief wait for scaning qrcode to login @param tip 1: wait for scan qrcode 0: wait for confirm
wxbot_project_py2.7/wechat/wechat_apis.py:210
↓ 2 callers
Method
webwxgetmsgimg
@brief get image in message @param msgid The id of message @return binary data of image
wxbot_project_py2.7/wechat/wechat_apis.py:418
↓ 2 callers
Method
webwxsendmsg
@brief send text message @param word String @param to User id @return dic Dict
wxbot_project_py2.7/wechat/wechat_apis.py:473
↓ 2 callers
Method
webwxsync
(self)
wxbot_demo_py3/weixin.py:420
↓ 2 callers
Method
webwxuploadmedia
(self, image_name)
wxbot_demo_py3/weixin.py:464
↓ 1 callers
Method
__init__
(self, host='wx.qq.com')
wxbot_project_py2.7/wechat/wechat.py:41
↓ 1 callers
Function
_decode_data
@brief decode array or dict to utf-8 @param data array or dict @return utf-8
wxbot_project_py2.7/wechat/utils.py:23
↓ 1 callers
Function
_decode_dict
(data)
wxbot_demo_py3/weixin.py:56
↓ 1 callers
Function
_decode_list
(data)
wxbot_demo_py3/weixin.py:43
↓ 1 callers
Method
_showCommandLineQRCode
(self, qr_data, enableCmdQR=2)
wxbot_demo_py3/weixin.py:195
↓ 1 callers
Method
_str2qr
(self, str)
wxbot_demo_py3/weixin.py:1076
↓ 1 callers
Method
_transcoding
(self, data)
wxbot_demo_py3/weixin.py:1088
↓ 1 callers
Method
_xiaodoubi
(self, word)
wxbot_demo_py3/weixin.py:1157
↓ 1 callers
Function
allowed_file
(filename)
wxbot_project_py2.7/weixin_bot.py:102
↓ 1 callers
Function
array_join
(arr, c)
wxbot_project_py2.7/db/mysql_db.py:12
↓ 1 callers
Method
association_login
@brief login without scan qrcode @return Bool: whether operation succeed
wxbot_project_py2.7/wechat/wechat_apis.py:751
↓ 1 callers
Method
check_schedule_task
(self)
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:241
↓ 1 callers
Method
clean_db
@brief clean database, delete table & create table
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:31
↓ 1 callers
Method
create_db
@brief Creates a database @param db_name String
wxbot_project_py2.7/db/mysql_db.py:71
↓ 1 callers
Method
delete
@brief execute sql commands, return result if it has @param table String @param field String @param
wxbot_project_py2.7/db/mysql_db.py:181
↓ 1 callers
Method
fetch_group_contacts
@brief Fetches all groups contacts. @return Bool: whether operation succeed. @note This function must be finis
wxbot_project_py2.7/wechat/wechat.py:179
↓ 1 callers
Method
genQRCode
(self)
wxbot_demo_py3/weixin.py:164
↓ 1 callers
Function
generate_file_name
@brief generate file name @return new file name
wxbot_project_py2.7/wechat/utils.py:186
↓ 1 callers
Method
genqrcode
@brief outprint the qrcode to stdout on macos/linux or open image on windows
wxbot_project_py2.7/wechat/wechat_apis.py:191
↓ 1 callers
Method
getGroupName
(self, id)
wxbot_demo_py3/weixin.py:644
↓ 1 callers
Method
getNameById
(self, id)
wxbot_demo_py3/weixin.py:359
↓ 1 callers
Method
get_cookie
(self)
wxbot_project_py2.7/config/config_manager.py:89
↓ 1 callers
Method
get_pickle_files
(self)
wxbot_project_py2.7/config/config_manager.py:79
↓ 1 callers
Method
get_table_column_name
@brief select all result from table @param table String @return result Array
wxbot_project_py2.7/db/mysql_db.py:140
↓ 1 callers
Method
get_wechat_config
(self)
wxbot_project_py2.7/config/config_manager.py:51
↓ 1 callers
Method
get_wechat_media_dir
(self)
wxbot_project_py2.7/config/config_manager.py:67
↓ 1 callers
Method
handleMsg
(self, r)
wxbot_demo_py3/weixin.py:776
↓ 1 callers
Method
handle_command
@brief handle msg of `@yourself cmd` @param cmd String @param msg Dict
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:202
↓ 1 callers
Method
handle_group_list_change
@brief handle adding a new group & saved in DB @param new_group Dict
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:83
↓ 1 callers
Method
handle_group_msg
@brief Recieve group messages @param msg Dict: packaged msg
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:99
↓ 1 callers
Method
handle_mod
(self, r)
wxbot_project_py2.7/wechat/wechat.py:356
↓ 1 callers
Method
handle_user_msg
@brief Recieve personal messages @param msg Dict
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:185
↓ 1 callers
Method
handle_wxsync
@brief Recieve webwxsync message, saved into json @param msg Dict: webwxsync msg
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:43
↓ 1 callers
Method
listenMsgMode
(self)
wxbot_demo_py3/weixin.py:876
↓ 1 callers
Method
make_group_msg
@brief Package the group message for storage. @param msg Dict: raw msg @return raw_msg Dict: packged msg
wxbot_project_py2.7/wechat/wechat.py:565
↓ 1 callers
Function
print_qr
(mat)
wxbot_project_py2.7/wechat/utils.py:75
next →
1–100 of 206, ranked by callers