MCPcopy Create free account

hub / github.com/Urinx/WeixinBot / functions

Functions206 in github.com/Urinx/WeixinBot

↓ 47 callersMethodget
(self, section, option)
wxbot_project_py2.7/config/config_manager.py:26
↓ 28 callersFunctionecho
(str)
wxbot_project_py2.7/wechat/utils.py:82
↓ 14 callersFunctionpost
@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 callersFunctionget
@brief http get request @param url String @param api wechat api @return http response
wxbot_project_py2.7/wechat/utils.py:104
↓ 11 callersMethodwrite
(self, s)
wxbot_demo_py3/weixin.py:1199
↓ 10 callersMethod_get
(self, url: object, api: object = None, timeout: object = None)
wxbot_demo_py3/weixin.py:1098
↓ 10 callersMethod_showMsg
(self, message)
wxbot_demo_py3/weixin.py:703
↓ 10 callersMethodexecute
@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 callersFunctionrun
(str, func, *args)
wxbot_project_py2.7/wechat/utils.py:88
↓ 9 callersMethod_echo
(self, str)
wxbot_demo_py3/weixin.py:1066
↓ 9 callersMethodexecute
@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 callersMethod_post
(self, url: object, params: object, jsonfmt: object = True)
wxbot_demo_py3/weixin.py:1128
↓ 7 callersMethodTABLE_GROUP_USER_LIST
()
wxbot_project_py2.7/config/constant.py:141
↓ 7 callersMethod_run
(self, str, func, *args)
wxbot_demo_py3/weixin.py:1055
↓ 7 callersMethodcreate_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 callersMethodTABLE_GROUP_LIST
()
wxbot_project_py2.7/config/constant.py:129
↓ 6 callersMethod_saveFile
(self, filename, data, api=None)
wxbot_demo_py3/weixin.py:585
↓ 6 callersMethod_searchContent
(self, key, content, fmat='attr')
wxbot_demo_py3/weixin.py:1176
↓ 6 callersFunctionsearch_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 callersFunctiontrans_emoji
@brief Transform emoji html text to unicode @param text String @return emoji unicode
wxbot_project_py2.7/wechat/utils.py:313
↓ 5 callersMethodclose
@brief close connection to database
wxbot_project_py2.7/db/mysql_db.py:192
↓ 5 callersMethodflush
(self)
wxbot_demo_py3/weixin.py:1205
↓ 5 callersMethodget_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 callersMethodgetpath
(self, dir)
wxbot_project_py2.7/config/config_manager.py:33
↓ 5 callersFunctionpickle_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 callersFunctionpickle_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 callersFunctionsave_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 callersFunctiontrans_coding
@brief Transform string to unicode @param data String @return unicode
wxbot_project_py2.7/wechat/utils.py:297
↓ 5 callersMethodwebwxuploadmedia
@brief upload image @param file_path String @return Dict: json
wxbot_project_py2.7/wechat/wechat_apis.py:498
↓ 4 callersMethod_safe_open
(self, path)
wxbot_demo_py3/weixin.py:1048
↓ 4 callersMethoddelete_table
@brief Delete a table in database @param table String
wxbot_project_py2.7/db/mysql_db.py:93
↓ 4 callersMethodgetUserRemarkName
(self, id)
wxbot_demo_py3/weixin.py:661
↓ 4 callersMethodget_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 callersFunctionmass_send
(method, data, func)
wxbot_project_py2.7/weixin_bot.py:174
↓ 4 callersMethodsend_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 callersMethodwebwxsendmsg
(self, word, to='filehelper')
wxbot_demo_py3/weixin.py:442
↓ 4 callersMethodwebwxsync
@brief sync the messages @return Dict{}
wxbot_project_py2.7/wechat/wechat_apis.py:398
↓ 3 callersMethodgetUSerID
(self, name)
wxbot_demo_py3/weixin.py:697
↓ 3 callersMethodget_run_time
@brief get how long this run @return String
wxbot_project_py2.7/wechat/wechat.py:161
↓ 3 callersMethodinsert
@brief Insert a row in table @param table String @param value Tuple
wxbot_project_py2.7/db/mysql_db.py:104
↓ 3 callersFunctionsave_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 callersMethodselect
@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 callersMethodstart
(self)
wxbot_project_py2.7/wechat/wechat.py:59
↓ 2 callersMethod_showQRCodeImg
(self, str)
wxbot_demo_py3/weixin.py:173
↓ 2 callersMethodconf_factory
(self)
wxbot_project_py2.7/wechat/wechat_apis.py:62
↓ 2 callersMethodget_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 callersMethodhandle_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 callersMethodhandle_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 callersMethodhandle_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 callersMethodhandle_msg
@brief Recover from snapshot data. @param r Dict: message json
wxbot_project_py2.7/wechat/wechat.py:397
↓ 2 callersMethodinsertmany
@brief Insert many rows in table @param table String @param values Array of tuple
wxbot_project_py2.7/db/mysql_db.py:115
↓ 2 callersMethodmake_synckey
(self, dic)
wxbot_project_py2.7/wechat/wechat_apis.py:828
↓ 2 callersMethodsendMsg
(self, name, word, isfile=False)
wxbot_demo_py3/weixin.py:916
↓ 2 callersMethodsend_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 callersMethodsend_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 callersMethodsend_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 callersFunctionsplit_array
(arr, n)
wxbot_project_py2.7/wechat/utils.py:362
↓ 2 callersMethodsynccheck
(self)
wxbot_demo_py3/weixin.py:399
↓ 2 callersMethodwaitForLogin
(self, tip=1)
wxbot_demo_py3/weixin.py:217
↓ 2 callersMethodwaitforlogin
@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 callersMethodwebwxgetmsgimg
@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 callersMethodwebwxsendmsg
@brief send text message @param word String @param to User id @return dic Dict
wxbot_project_py2.7/wechat/wechat_apis.py:473
↓ 2 callersMethodwebwxsync
(self)
wxbot_demo_py3/weixin.py:420
↓ 2 callersMethodwebwxuploadmedia
(self, image_name)
wxbot_demo_py3/weixin.py:464
↓ 1 callersMethod__init__
(self, host='wx.qq.com')
wxbot_project_py2.7/wechat/wechat.py:41
↓ 1 callersFunction_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 callersFunction_decode_dict
(data)
wxbot_demo_py3/weixin.py:56
↓ 1 callersFunction_decode_list
(data)
wxbot_demo_py3/weixin.py:43
↓ 1 callersMethod_showCommandLineQRCode
(self, qr_data, enableCmdQR=2)
wxbot_demo_py3/weixin.py:195
↓ 1 callersMethod_str2qr
(self, str)
wxbot_demo_py3/weixin.py:1076
↓ 1 callersMethod_transcoding
(self, data)
wxbot_demo_py3/weixin.py:1088
↓ 1 callersMethod_xiaodoubi
(self, word)
wxbot_demo_py3/weixin.py:1157
↓ 1 callersFunctionallowed_file
(filename)
wxbot_project_py2.7/weixin_bot.py:102
↓ 1 callersFunctionarray_join
(arr, c)
wxbot_project_py2.7/db/mysql_db.py:12
↓ 1 callersMethodassociation_login
@brief login without scan qrcode @return Bool: whether operation succeed
wxbot_project_py2.7/wechat/wechat_apis.py:751
↓ 1 callersMethodcheck_schedule_task
(self)
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:241
↓ 1 callersMethodclean_db
@brief clean database, delete table & create table
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:31
↓ 1 callersMethodcreate_db
@brief Creates a database @param db_name String
wxbot_project_py2.7/db/mysql_db.py:71
↓ 1 callersMethoddelete
@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 callersMethodfetch_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 callersMethodgenQRCode
(self)
wxbot_demo_py3/weixin.py:164
↓ 1 callersFunctiongenerate_file_name
@brief generate file name @return new file name
wxbot_project_py2.7/wechat/utils.py:186
↓ 1 callersMethodgenqrcode
@brief outprint the qrcode to stdout on macos/linux or open image on windows
wxbot_project_py2.7/wechat/wechat_apis.py:191
↓ 1 callersMethodgetGroupName
(self, id)
wxbot_demo_py3/weixin.py:644
↓ 1 callersMethodgetNameById
(self, id)
wxbot_demo_py3/weixin.py:359
↓ 1 callersMethodget_cookie
(self)
wxbot_project_py2.7/config/config_manager.py:89
↓ 1 callersMethodget_pickle_files
(self)
wxbot_project_py2.7/config/config_manager.py:79
↓ 1 callersMethodget_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 callersMethodget_wechat_config
(self)
wxbot_project_py2.7/config/config_manager.py:51
↓ 1 callersMethodget_wechat_media_dir
(self)
wxbot_project_py2.7/config/config_manager.py:67
↓ 1 callersMethodhandleMsg
(self, r)
wxbot_demo_py3/weixin.py:776
↓ 1 callersMethodhandle_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 callersMethodhandle_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 callersMethodhandle_group_msg
@brief Recieve group messages @param msg Dict: packaged msg
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:99
↓ 1 callersMethodhandle_mod
(self, r)
wxbot_project_py2.7/wechat/wechat.py:356
↓ 1 callersMethodhandle_user_msg
@brief Recieve personal messages @param msg Dict
wxbot_project_py2.7/wx_handler/wechat_msg_processor.py:185
↓ 1 callersMethodhandle_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 callersMethodlistenMsgMode
(self)
wxbot_demo_py3/weixin.py:876
↓ 1 callersMethodmake_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 callersFunctionprint_qr
(mat)
wxbot_project_py2.7/wechat/utils.py:75
next →1–100 of 206, ranked by callers