This repository contains a Python application designed to track followers of specific organizations on GitHub, gather relevant information about these followers, and store this data in a JSON file. The application also provides functionality to follow back users based on their programming language preference.
- Retrieve Followers: The application connects to GitHub organizations and retrieves their followers.
- Fetch Follower Details: For each follower, it gathers details including user ID, avatar URL, user type, and profile URL.
- Determine Top Language: Identifies the top programming language used by each follower.
- Store Follower Information: Saves the follower information to a JSON file for easy retrieval and analysis.
- Follow Users: Based on the stored data, it follows users who have a specified programming language.
- Python 3.7 or higher
- GitHub API token (with appropriate permissions)
-
Clone the repository:
git clone https://github.com/ivasik-k7/auto_connector.git .
-
Install dependencies: Ensure you have Python installed. Install required dependencies using pip:
poetry install
-
Set up environment variables: Create a
.env
file in the root directory with your GitHub access token:GITHUB_TOKEN=your_github_access_token_here
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.