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']
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"]
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']
def bet_history(self): """this returns your bet_history """ return bind_api(self, action="bet_history")
def bet_history_24_hours(self): return bind_api(self, action="bet_history_24_hours")
def merchant_address(self, merchant_id=None): return bind_api(self, action="merchant_address", merchant_id=merchant_id)
def merchant(self, merchant_id=None, action=None): print "merchant called" print merchant_id return bind_api(self, merchant_id=merchant_id, action="merchant")
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)
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)
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)
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)
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)
def open_bets(self): """this returns your open bets""" return bind_api(self, action="open_bets")
def bet_history_3_days(self): return bind_api(self, action="bet_history_3_days")
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)
def summary(self): """this returns your account summary """ return bind_api(self, action="summary")
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)
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)
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)
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)
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)
def update_merchant(self, merchant_id=None, fields=None): return bind_api(self, action="update_merchant", merchant_id=merchant_id, fields=fields)
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)
def merchant_properties(self, merchant_id=None): return bind_api(self, action="merchant_properties", merchant_id=merchant_id)
def open_bet_outcome_ids(self): """returns the outcome ids of the current open bets""" return bind_api(self, action="open_bet_outcome_ids")
def balance(self): """this returns your current balance as an int""" return bind_api(self, action="balance")
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)
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)
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)
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)