Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OfficialCodeVoyage/GitHub_Follower_Bot_Automated
/ functions
Functions
29 in github.com/OfficialCodeVoyage/GitHub_Follower_Bot_Automated
⨍
Functions
29
◇
Types & classes
1
↳
Endpoints
1
↓ 4 callers
Function
follow_user
Attempts to follow a user with retry logic, including exponential backoff with jitter.
bot.py:150
↓ 2 callers
Function
check_rate_limit
Checks the current rate limit status and logs it.
bot.py:128
↓ 2 callers
Function
handle_rate_limit
Handles GitHub API rate limiting with exponential backoff and jitter.
bot.py:108
↓ 2 callers
Function
update_follower_counter
Writes the follower count to a file.
bot.py:97
↓ 1 callers
Function
append_followed_user
Appends a followed user to the file.
bot.py:76
↓ 1 callers
Function
check_rate_limit
Checks the current rate limit status. Returns a tuple of (remaining_requests, reset_timestamp).
check_all_followers.py:99
↓ 1 callers
Function
get_total_followers
Retrieves the total number of followers. Uses the 'per_page=1' parameter to minimize data transfer.
check_all_followers.py:122
↓ 1 callers
Function
load_followed_users
Loads followed users from a file into a set.
bot.py:67
↓ 1 callers
Function
load_followed_users
Loads followed users from a file into a set. If the file does not exist, returns an empty set.
check_all_followers.py:62
↓ 1 callers
Function
load_follower_counter
Loads the follower counter from a file.
bot.py:87
↓ 1 callers
Function
load_follower_counter
Loads the follower counter from a file. If the file does not exist or contains invalid data, returns 0.
check_all_followers.py:80
↓ 1 callers
Function
main
()
bot.py:193
↓ 1 callers
Function
main
Main function to check total followers and available followers to follow.
check_all_followers.py:159
Function
get_followers
Fetches all followers of the specified GitHub user.
DEV_files/web_api_check.py:38
Function
test_append_to_file
()
pytests/test_bot.py:85
Function
test_fetch_followers_http_error
()
pytests/test_bot.py:31
Function
test_fetch_followers_success
()
pytests/test_bot.py:15
Function
test_follow_user_forbidden
()
pytests/test_bot.py:57
Function
test_follow_user_not_found
()
pytests/test_bot.py:49
Function
test_follow_user_success
()
pytests/test_bot.py:38
Function
test_get_new_followers
()
pytests/test_bot.py:110
Function
test_get_new_followers_not_found
()
pytests/test_bot.py:114
Function
test_increment_counter_exists
()
pytests/test_bot.py:92
Function
test_increment_counter_not_found
()
pytests/test_bot.py:103
Function
test_process_batch
()
pytests/test_bot.py:119
Function
test_process_followers_in_batches
()
pytests/test_bot.py:150
Function
test_read_file_exists
()
pytests/test_bot.py:65
Function
test_read_file_not_found
()
pytests/test_bot.py:72
Function
test_write_file
()
pytests/test_bot.py:77