https://github.com/ricardo7c/followers_github
Biblioteca Python para listar seguidores e perfis seguidos no GitHub.
https://github.com/ricardo7c/followers_github
api follower following github github-api python
Last synced: 6 days ago
JSON representation
Biblioteca Python para listar seguidores e perfis seguidos no GitHub.
- Host: GitHub
- URL: https://github.com/ricardo7c/followers_github
- Owner: Ricardo7c
- License: mit
- Created: 2025-02-20T03:50:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-28T02:09:56.000Z (over 1 year ago)
- Last Synced: 2025-02-28T07:23:34.531Z (over 1 year ago)
- Topics: api, follower, following, github, github-api, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# followers_github


Uma biblioteca Python para listar seguidores e perfis seguidos no GitHub.
## 🚀 Instalação
```bash
pip install followers_github
```
## 🛠Uso
### Importação
```python
from followers_github import followers, following
```
### Obtendo seguidores de um usuário
```python
print(followers("torvalds"))
```
### Obtendo perfis seguidos por um usuário
```python
print(following("torvalds"))
```
### Uso com Token de Autenticação
Para evitar limites de requisição na API do GitHub, você pode fornecer um **token de acesso pessoal**:
```python
MEU_TOKEN = "seu_token_aqui"
print(followers("torvalds", MEU_TOKEN))
```
## 📜 Estrutura do Projeto
```
followers_github/
│── followers_github/ # Pacote principal
│ ├── __init__.py # Exposição das funções principais
│ ├── api.py # Implementação das funções
│── pyproject.toml # Configuração do pacote
│── README.md # Documentação do projeto
│── LICENSE # Licença
│── .gitignore # Arquivos a serem ignorados
```
## 📄 Licença
Este projeto está sob a licença **MIT**. Sinta-se livre para contribuir! 🚀