示例#1
0
文件: market.py 项目: Ermans/steampy
 def _confirm_sell_listing(self, asset_id: str) -> dict:
     con_executor = ConfirmationExecutor(
         self.steam_session.steam_guard['identity_secret'],
         self.steam_session.steam_guard['steamid'], self.steam_session)
     try:
         return con_executor.confirm_sell_listing(asset_id)
     except Exception as e:
         raise SteamServerError("[CONFIRM_SELL_LISTING_ERROR]") from e
示例#2
0
 def _confirm_transaction(self, trade_offer_id: str) -> dict:
     confirmation_executor = ConfirmationExecutor(
         self.steam_guard['identity_secret'], self.steam_guard['steamid'],
         self._session)
     return confirmation_executor.send_trade_allow_request(trade_offer_id)
示例#3
0
文件: market.py 项目: sollybr/steampy
 def _confirm_sell_listing(self, asset_id: str) -> dict:
     con_executor = ConfirmationExecutor(
         self._steam_guard['identity_secret'], self._steam_guard['steamid'],
         self._session)
     return con_executor.confirm_sell_listing(asset_id)
示例#4
0
 def get_transactions(self):
     confirmation_executor = ConfirmationExecutor(
         '', self.mafile['identity_secret'],
         str(self.mafile['Session']['SteamID']), self._session)
     confirmation_executor._get_confirmations()
示例#5
0
 def confirm_market_transactions(self):
     confirmation_executor = ConfirmationExecutor(
         '', self.mafile['identity_secret'],
         str(self.mafile['Session']['SteamID']), self._session)
     return confirmation_executor.send_markettrans_allow_request()
示例#6
0
 def _confirm_transaction(self, trade_offer_id: str) -> dict:
     confirmation_executor = ConfirmationExecutor(
         trade_offer_id, self.mafile['identity_secret'],
         str(self.mafile['Session']['SteamID']), self._session)
     return confirmation_executor.send_trade_allow_request()
示例#7
0
 def _confirm_sell_listing(self, asset_id: str) -> dict:
     con_executor = ConfirmationExecutor(self._identity_secret,
                                         self.steam_id, self._session)
     return con_executor.confirm_sell_listing(asset_id)
示例#8
0
文件: client.py 项目: bukson/steampy
 def _confirm_transaction(self, trade_offer_id: str) -> dict:
     confirmation_executor = ConfirmationExecutor(self.steam_guard['identity_secret'], self.steam_guard['steamid'],
                                                  self._session)
     return confirmation_executor.send_trade_allow_request(trade_offer_id)