示例#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
文件: api.py 项目: jkol36/bovadaAPI
    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
文件: api.py 项目: jkol36/bovadaAPI
    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
文件: api.py 项目: jkol36/bovadaAPI
    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
文件: api.py 项目: jkol36/bovadaAPI
 def bet_history(self):
     """this returns your bet_history """
     return bind_api(self, action="bet_history")
示例#8
0
文件: api.py 项目: jkol36/bovadaAPI
 def bet_history_24_hours(self):
     return bind_api(self, action="bet_history_24_hours")
示例#9
0
文件: api.py 项目: jkol36/ritas
	def merchant_address(self, merchant_id=None):
		return bind_api(self, action="merchant_address", merchant_id=merchant_id)
示例#10
0
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/bovadaAPI
 def open_bets(self):
     """this returns your open bets"""
     return bind_api(self, action="open_bets")
示例#17
0
文件: api.py 项目: jkol36/bovadaAPI
 def bet_history_3_days(self):
     return bind_api(self, action="bet_history_3_days")
示例#18
0
文件: api.py 项目: jkol36/bovadaAPI
 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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/bovadaAPI
    def summary(self):
        """this returns your account summary
		"""
        return bind_api(self, action="summary")
示例#22
0
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	def update_merchant(self, merchant_id=None, fields=None):
		return bind_api(self, action="update_merchant", merchant_id=merchant_id, fields=fields)
示例#28
0
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/bovadaAPI
 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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/bovadaAPI
 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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/ritas
	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
文件: api.py 项目: jkol36/bovadaAPI
 def open_bet_outcome_ids(self):
     """returns the outcome ids of the current open bets"""
     return bind_api(self, action="open_bet_outcome_ids")