MCPcopy Create free account

hub / github.com/MakiNaruto/Automatic_ticket_purchase / functions

Functions28 in github.com/MakiNaruto/Automatic_ticket_purchase

↓ 20 callersFunctionn
(e, t)
signcode.js:6
↓ 16 callersFunctiona
(e, r, o, i, a, s, u)
signcode.js:32
↓ 16 callersFunctioni
(e, r, o, i, a, s, u)
signcode.js:26
↓ 16 callersFunctiono
(e, r, o, i, a, s, u)
signcode.js:20
↓ 16 callersFunctionr
(e, r, o, i, a, s, u)
signcode.js:14
↓ 4 callersFunctions
(e)
signcode.js:38
↓ 4 callersFunctiont
(e, t)
signcode.js:2
↓ 3 callersFunctionget_sign_code
返回请求选座信息接口必备的sign信息 :return:
tools.py:147
↓ 2 callersFunctioncreate_seat_dict
构建座位层级信息
tools.py:354
↓ 2 callersFunctionformat_param
(context)
tools.py:122
↓ 1 callersFunctioncheck_login_status
检测是否登录成功
tools.py:41
↓ 1 callersMethodrun
(self)
Automatic_ticket_purchase.py:227
↓ 1 callersMethodstep1_get_order_info
获取点击购买所必须的参数信息 :param item_id: 商品id :param commodity_param: 获取商品购买信息必须的参数 :param ticket_price:
Automatic_ticket_purchase.py:31
↓ 1 callersMethodstep2_click_buy_now
点击立即购买 :param ex_params: 点击立即购买按钮所发送请求的必须参数 :param sku_info: 购买指定商品信息及数量信息 :return:
Automatic_ticket_purchase.py:71
↓ 1 callersMethodstep2_click_confirm_select_seats
选座购买,点击确认选座
Automatic_ticket_purchase.py:114
↓ 1 callersMethodstep3_submit_order
提交订单所需参数信息 :param submit_order_info: 最终确认订单所需的所有信息。 :param viewer: 指定观演人进行购票 :param seat_info: 座位id :retu
Automatic_ticket_purchase.py:161
Method__init__
(self)
Automatic_ticket_purchase.py:19
Functionaccount_login
登录大麦网 :param login_id: :param login_password: :param login_type: 选择哪种方式进行登录 :return:
tools.py:72
Functioncalcaulate
(e)
signcode.js:1
Functionformat_valuable_seatid
格式化 seatid 相关信息
tools.py:368
Functionget_api_param
获取请求大麦API所必须的一些参数, 可能大麦网js代码更新后需要修改此函数内的代码以重新获得参数信息
tools.py:119
Functionget_seat_dynamic_info
获取 standId, 用于获取所有座位信息
tools.py:200
Functionget_select_seat_api
得到请求所有座位信息的api地址
tools.py:252
Functionget_select_seat_params
获取座位信息的必备参数
tools.py:164
Functionget_valuable_seat_id
获取可用的座位信息
tools.py:302
Functionload_cookies
读取保存的cookies
tools.py:30
Functionpick_seat
简单实现选取座位信息
tools.py:411
Functionsave_cookies
保存cookies
tools.py:24