MCPcopy Index your code

hub / github.com/Hari-Nagarajan/fairgame / functions

Functions110 in github.com/Hari-Nagarajan/fairgame

↓ 24 callersMethodsend_notification
(self, message, page_name, take_screenshot=True)
stores/amazon.py:1641
↓ 17 callersMethodget_timeout
(self, timeout=DEFAULT_MAX_TIMEOUT)
stores/amazon.py:1648
↓ 15 callersMethodwait_for_page_content_change
Utility to help manage selenium waiting for a page to load after an action, like a click
stores/amazon.py:1610
↓ 9 callersMethodget_amazon_element
(self, key)
stores/amazon.py:1204
↓ 9 callersMethodsave_page_source
Saves DOM at the current state when called. This includes state changes from DOM manipulation via JS
stores/amazon.py:1601
↓ 8 callersMethoddo_button_click
( self, button, clicking_text="Clicking button", clicked_text="Button clicked"
stores/amazon.py:1270
↓ 7 callersMethodsave_screenshot
(self, page)
stores/amazon.py:1588
↓ 6 callersMethodget_browser_profile_path
(self)
common/globalconfig.py:75
↓ 6 callersMethodget_cart_count
(self)
stores/amazon.py:1215
↓ 4 callersMethodplay_alarm_sound
(self)
notifications/notifications.py:79
↓ 4 callersMethodwait_for_page_change
(self, page_title, timeout=3)
stores/amazon.py:1627
↓ 3 callersMethodfail_to_checkout_note
(self)
stores/amazon.py:314
↓ 3 callersMethodhandle_captcha
(self, check_presence=True)
stores/amazon.py:1476
↓ 3 callersMethodpage_wait_delay
(self)
stores/amazon.py:1638
↓ 3 callersMethodplay
(self, audio_file=None, **kwargs)
notifications/notifications.py:85
↓ 3 callersMethodplay_notify_sound
(self)
notifications/notifications.py:76
↓ 3 callersFunctionsend_update
(state)
utils/discord_presence.py:57
↓ 2 callersMethodcreate_driver
(self, path_to_profile)
stores/amazon.py:1747
↓ 2 callersFunctioncreate_encrypted_config
Creates an encrypted credential file if none exists. Stores results in a file in the root directory.
utils/encryption.py:67
↓ 2 callersMethoddelete_driver
(self)
stores/amazon.py:1797
↓ 2 callersMethodget_amazon_elements
(self, key)
stores/amazon.py:1209
↓ 2 callersFunctionget_latest_version
()
utils/version.py:47
↓ 2 callersMethodget_page
(self, url)
stores/amazon.py:1658
↓ 2 callersFunctionget_scrypt_cost_factor
(mem_percentage=0.5)
utils/encryption.py:115
↓ 2 callersFunctionget_timestamp_filename
Utility method to create a filename with a timestamp appended to the root and before the provided file extension
stores/amazon.py:1822
↓ 2 callersMethodhandle_order_complete
(self)
stores/amazon.py:1444
↓ 2 callersMethodhandle_shipping_page
(self)
stores/amazon.py:1178
↓ 2 callersMethodhandle_unknown_title
(self, title)
stores/amazon.py:1163
↓ 2 callersMethodis_logged_in
(self)
stores/amazon.py:347
↓ 2 callersFunctionjoin_xpaths
(xpath_list, separator=" | ")
stores/amazon.py:2036
↓ 2 callersMethodlogin
(self)
stores/amazon.py:356
↓ 2 callersFunctionnotfound_message
(exception)
app.py:51
↓ 2 callersMethodplay_purchase_sound
(self)
notifications/notifications.py:82
↓ 2 callersMethodremove_asin_list
(self, asin)
stores/amazon.py:962
↓ 2 callersFunctionresolve_domain
(domain)
cli/cli.py:359
↓ 1 callersMethodattempt_atc
(self, offering_id, max_atc_retries=DEFAULT_MAX_ATC_TRIES)
stores/amazon.py:926
↓ 1 callersFunctionawait_credential_input
()
common/globalconfig.py:31
↓ 1 callersMethodbuy_it_now
(self, offering_id, max_atc_retries=DEFAULT_MAX_ATC_TRIES)
stores/amazon.py:878
↓ 1 callersMethodcheck_stock
(self, asin, reserve_min, reserve_max, retry=0)
stores/amazon.py:465
↓ 1 callersFunctiondecrypt
Decryption function to unwrap and return the decrypted creds back to the main thread.
utils/encryption.py:49
↓ 1 callersFunctionenable_headless
()
utils/selenium_utils.py:154
↓ 1 callersFunctionencrypt
Encryption function to securely store user credentials, uses ChaCha_Poly1305 with a user defined SCrypt key.
utils/encryption.py:34
↓ 1 callersFunctionget_alt_shipping_costs
(tree, free_shipping_string)
stores/amazon.py:1866
↓ 1 callersMethodget_amazon_config
(self, encryption_pass=None)
common/globalconfig.py:63
↓ 1 callersFunctionget_credentials
(credentials_file, encrypted_pass=None)
common/globalconfig.py:40
↓ 1 callersMethodget_fairgame_config
(self)
common/globalconfig.py:72
↓ 1 callersFunctionget_folder_size
(folder)
cli/cli.py:44
↓ 1 callersFunctionget_item_condition
Attempts to determine the Item Condition from the Add To Cart form action
stores/amazon.py:2008
↓ 1 callersFunctionget_shipping_costs
(tree, free_shipping_string)
stores/amazon.py:1833
↓ 1 callersMethodget_webdriver_pids
(self)
stores/amazon.py:1651
↓ 1 callersMethodhandle_business_po
(self)
stores/amazon.py:1561
↓ 1 callersMethodhandle_cart
(self)
stores/amazon.py:1330
↓ 1 callersMethodhandle_checkout
(self, test)
stores/amazon.py:1395
↓ 1 callersMethodhandle_doggos
(self)
stores/amazon.py:1462
↓ 1 callersMethodhandle_home_page
(self)
stores/amazon.py:1294
↓ 1 callersMethodhandle_out_of_stock
(self)
stores/amazon.py:1469
↓ 1 callersMethodhandle_prime_signup
(self)
stores/amazon.py:1230
↓ 1 callersMethodhandle_startup
(self)
stores/amazon.py:325
↓ 1 callersFunctionis_latest
()
utils/version.py:36
↓ 1 callersFunctionload_encrypted_config
Decrypts a previously encrypted credential file and returns the contents back to the calling thread.
utils/encryption.py:86
↓ 1 callersMethodnavigate_pages
(self, test)
stores/amazon.py:972
↓ 1 callersMethodrun
(self, delay=DEFAULT_REFRESH_DELAY, test=False)
stores/amazon.py:222
↓ 1 callersMethodrun_asins
(self, delay)
stores/amazon.py:451
↓ 1 callersMethodsend
(self, request, **kwargs)
utils/http.py:41
↓ 1 callersFunctionsha256sum
(filename)
app.py:24
↓ 1 callersMethodshow_config
(self)
stores/amazon.py:1691
↓ 1 callersFunctionsizeof_fmt
(num, suffix="B")
cli/cli.py:48
↓ 1 callersMethodstart_worker
(self)
notifications/notifications.py:73
↓ 1 callersFunctionwait_for_element_by_xpath
(d, xpath, timeout=10)
stores/amazon.py:2024
Method__call__
(self, driver)
utils/selenium_utils.py:49
Method__del__
(self)
stores/amazon.py:1688
Method__init__
(self)
notifications/notifications.py:40
Method__init__
(self, message)
utils/json_utils.py:38
Method__init__
(self, *args, **kwargs)
utils/http.py:27
Method__init__
(self, *args)
utils/selenium_utils.py:46
Method__init__
( self, notification_handler, headless=False, checkshipping=False, det
stores/amazon.py:98
Method__init__
(self, param_decls=None, **attrs)
cli/utils.py:25
Method__init__
(self)
common/globalconfig.py:53
Function_decode_dict
(a_dict)
utils/json_utils.py:26
Functionadd_cookies_to_session_from_driver
(driver, session)
utils/selenium_utils.py:139
Functionamazon
( no_image, headless, test, delay, checkshipping, detailed, used, single_shot,
cli/cli.py:202
Functionbutton_click_using_xpath
Uses webdriver(d) to click a button using an XPath(xpath)
utils/selenium_utils.py:113
Functionbuy_update
()
utils/discord_presence.py:49
Functiondebug
Print the function signature and return value
utils/debugger.py:25
Functiondecorator
(*args, **kwargs)
cli/cli.py:64
Functionfield_send_keys
Uses webdriver(d) to fiend a field(field), clears it and sends keys(keys)
utils/selenium_utils.py:124
Functionfind_endpoints
(domain)
cli/cli.py:330
Functionfind_values
(json_repr, id)
utils/json_utils.py:23
Methodfrom_str
(cls, label)
stores/amazon.py:1992
Methodget_property
(self, property_name)
common/globalconfig.py:83
Functionhas_class
(element, class_name)
utils/selenium_utils.py:133
Functioninterrupt_handler
(signal_num, frame)
cli/cli.py:57
Functionmain
()
cli/cli.py:79
Methodmessage_sender
(self)
notifications/notifications.py:63
Functionnotify_on_crash
(func)
cli/cli.py:62
Methodprompt_for_value
(self, ctx)
cli/utils.py:28
Functionsearching_update
()
utils/discord_presence.py:53
Methodsend_notification
(self, message, ss_name=[], **kwargs)
notifications/notifications.py:59
Functionshow
(w, c)
cli/cli.py:297
Functionshow_traceroutes
(domain)
cli/cli.py:394
next →1–100 of 110, ranked by callers