Пример #1
0
	def soccer_matches(self):
		""" this returns all soccer matches
			the first url to be queried is https://sports.bovada.lv/soccer/
			then all subsequent urls are queried and scraped to return all soccer matches
			currently on bovada. If that's not dope, I don't know what is.
		"""
		return bind_api(self, action="soccer_matches")['soccer_matches']
Пример #2
0
    def rugby_matches(self):
        """
			the first url to be queried is https://sports.bovada.lv/rugby-union/
			then all subsequent urls are queried and scraped to return all rugby matches
			currently on bovada. If that's not dope, I don't know what is.
		"""
        return bind_api(self, action="rugby_matches")["rugby_matches"]
Пример #3
0
	def baseball_matches(self):
		"""
			the first url to be queried is https://sports.bovada.lv/baseball/
			then all subsequent urls are queried and scraped to return all baseball matches
			currently on bovada. If that's not dope, I don't know what is.
		"""
		return bind_api(self, action="baseball_matches")['baseball_matches']
Пример #4
0
    def baseball_matches(self):
        """
			the first url to be queried is https://sports.bovada.lv/baseball/
			then all subsequent urls are queried and scraped to return all baseball matches
			currently on bovada. If that's not dope, I don't know what is.
		"""
        return bind_api(self, action="baseball_matches")['baseball_matches']
Пример #5
0
    def soccer_matches(self):
        """ this returns all soccer matches
			the first url to be queried is https://sports.bovada.lv/soccer/
			then all subsequent urls are queried and scraped to return all soccer matches
			currently on bovada. If that's not dope, I don't know what is.
		"""
        return bind_api(self, action="soccer_matches")['soccer_matches']
Пример #6
0
	def rugby_matches(self):
		"""
			the first url to be queried is https://sports.bovada.lv/rugby-union/
			then all subsequent urls are queried and scraped to return all rugby matches
			currently on bovada. If that's not dope, I don't know what is.
		"""
		return bind_api(self, action="rugby_matches")["rugby_matches"]
Пример #7
0
 def bet_history(self):
     """this returns your bet_history """
     return bind_api(self, action="bet_history")
Пример #8
0
 def bet_history_24_hours(self):
     return bind_api(self, action="bet_history_24_hours")
Пример #9
0
	def merchant_address(self, merchant_id=None):
		return bind_api(self, action="merchant_address", merchant_id=merchant_id)
Пример #10
0
	def merchant(self, merchant_id=None, action=None):
		print "merchant called"
		print merchant_id
		return bind_api(self, merchant_id=merchant_id, action="merchant")
Пример #11
0
	def merchant_refund(self, merchant_id=None, refund_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_refund", merchant_id=merchant_id, refund_id=refund_id, filter_by=filter_by, expand=expand)
Пример #12
0
	def merchant_payments_for_order(self, merchant_id=None, order_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_payments_for_order", merchant_id=merchant_id, order_id=order_id, filter_by=filter_by, expand=expand)
Пример #13
0
	def merchant_items_by_tax_rate(self, merchant_id=None, tax_id=None, filter_by=None, expand=None):
		return bind_api(action="items_by_tax_rate", merchant_id=merchant_od, tax_id=tax_id, filter_by=filter_by, expand=expand)
Пример #14
0
	def item_categories(self, merchant_id=None, item_id=None, filter_by=None, expand=None):
		return bind_api(self, action="categories_for_item", merchant_id=merchant_id, filter_by=filter_by, expand=expand)
Пример #15
0
	def items_in_category(self, merchant_id=None, category_id=None, filter_by=None, expand=None):
		return bind_api(self, merchant_id=merchant_id, category_id=category_id, filter_by=filter_by, expand=expand)
Пример #16
0
 def open_bets(self):
     """this returns your open bets"""
     return bind_api(self, action="open_bets")
Пример #17
0
 def bet_history_3_days(self):
     return bind_api(self, action="bet_history_3_days")
Пример #18
0
 def bet_history_24_hours(self):
     return bind_api(self, action="bet_history_24_hours")
Пример #19
0
	def open_bets(self):
		"""this returns your open bets"""
		return bind_api(self, action="open_bets")
Пример #20
0
	def merchant_modifiers(self, merchant_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_get_modifiers", filter_by=filter_by, expand=expand)
Пример #21
0
    def summary(self):
        """this returns your account summary
		"""
        return bind_api(self, action="summary")
Пример #22
0
	def merchant_modifiers_for_modifier_group(self, merchant_id=None, modifier_group_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_get_modifiers_for_group", merchant_id=merchant_id, filter_by=filter_by, expand=expand)
Пример #23
0
	def merchant_payments_for_employee(self, merchant_id=None, employee_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_payments_for_employee", merchant_id=merchant_id, employee_id=employee_id, filter_by=filter_by, expand=expand)
Пример #24
0
	def merchant_modifier(self, merchant_id=None, modifier_group_id=None, modifier_id=None, expand=None):
		return bind_api(self, action="merchant_get_modifier", merchant_id=merchant_id, modifier_id=modifier_id, expand=expand)
Пример #25
0
	def merchant_credit(self, merchant_id=None, credit_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_credit", merchant_id=merchant_id, credit_id=credit_id, filter_by=filter_by, expand=expand)
Пример #26
0
	def merchant_attributes(self, merchant_id=None, filter_by=None):
		return bind_api(self, action="merchant_get_attributes", merchant_id=merchant_id, filter_by=filter_by)
Пример #27
0
	def update_merchant(self, merchant_id=None, fields=None):
		return bind_api(self, action="update_merchant", merchant_id=merchant_id, fields=fields)
Пример #28
0
	def merchant_options_for_attribute(self, merchant_id=None, attribute_id=None, filter_by=None, option_id=None,  expand=None):
		return bind_api(self, action="merchant_get_option_for_attribute", merchant_id=merchant_id, option_id=option_id, attribute_id=attribute_id, filter_by=filter_by, expand=expand)	
Пример #29
0
	def merchant_properties(self, merchant_id=None):
		return bind_api(self, action="merchant_properties", merchant_id=merchant_id)
Пример #30
0
	def open_bet_outcome_ids(self):
		"""returns the outcome ids of the current open bets"""
		return bind_api(self, action="open_bet_outcome_ids")
Пример #31
0
 def bet_history_3_days(self):
     return bind_api(self, action="bet_history_3_days")
Пример #32
0
	def balance(self):
		"""this returns your current balance as an int"""
		return bind_api(self, action="balance")
Пример #33
0
	def merchant_orders(self, merchant_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_orders", merchant_id=merchant_id, filter_by=filter_by, expand=expand)
Пример #34
0
 def balance(self):
     """this returns your current balance as an int"""
     return bind_api(self, action="balance")
Пример #35
0
	def summary(self):
		"""this returns your account summary
		"""
		return bind_api(self, action="summary")
Пример #36
0
	def merchant_line_item_for_order(self, merchant_id=None, line_item_id=None, order_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_line_items_for_order", merchant_id=merchant_id, line_item_id=line_item_id, order_id=order_id, filter_by=filter_by, expand=expand)
Пример #37
0
	def bet_history(self):
		"""this returns your bet_history """
		return bind_api(self, action="bet_history")
Пример #38
0
	def merchant_payment(self, merchant_id=None, pay_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_payment", merchant_id=merchant_id, pay_id=order_id, filter_by=filter_by, expand=expand)
Пример #39
0
	def merchant_authorzation(self, merchant_id=None,  auth_id=None, filter_by=None, expand=None):
		return bind_api(self, action="merchant_authorization", merchant_id=merchant_id, order_id=order_id, filter_by=filter_by, expand=expand)
Пример #40
0
 def open_bet_outcome_ids(self):
     """returns the outcome ids of the current open bets"""
     return bind_api(self, action="open_bet_outcome_ids")