# guilherme-ventura/coletandodados architecture

> Architecture diagram of the GitHub repository guilherme-ventura/coletandodados, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/guilherme-ventura/coletandodados
- Repository: https://github.com/guilherme-ventura/coletandodados

## Overview

ColetarDados is a small console app that looks up a League of Legends summoner by nickname, then retrieves and displays ranked-league details. The sampled code shows the console workflow, two Riot API requests, and JSON deserialization into response models. No README was provided.

Main entry points: [`ColetarDados/Program.cs`](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/Program.cs) (Console workflow), [`ColetarDados/ColetarDados.cs`](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs) (Summoner lookup), [`ColetarDados/DadosInvocador.cs`](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/DadosInvocador.cs) (Summoner data), [`ColetarDados/DadosPerfil.cs`](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/DadosPerfil.cs) (Profile data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_console["Console workflow"]
  node_program["Console workflow<br/>[Program.cs]"]
end

subgraph group_riot["Riot API access"]
  node_client["Riot API client<br/>[ColetarDados.cs]"]
  node_summoner["Summoner lookup<br/>[ColetarDados.cs]"]
  node_profile["Ranked profile lookup<br/>[ColetarDados.cs]"]
  node_summoner_model["Summoner data<br/>[DadosInvocador.cs]"]
  node_profile_model["Profile data<br/>[DadosPerfil.cs]"]
end

node_user(("User"))
node_riot_api["Riot Games API"]

node_user -->|"enters nickname"| node_program
node_program -->|"calls lookup"| node_client
node_client -->|"dispatches request"| node_summoner
node_summoner -->|"requests summoner"| node_riot_api
node_summoner -->|"deserializes response"| node_summoner_model
node_summoner -->|"returns summoner"| node_program
node_program -->|"calls profile lookup"| node_client
node_client -->|"dispatches request"| node_profile
node_profile -->|"requests ranked entries"| node_riot_api
node_profile -->|"deserializes response"| node_profile_model
node_profile -->|"returns profile"| node_program
node_program -->|"displays results"| node_user

click node_program "https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/Program.cs"
click node_client "https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs"
click node_summoner "https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs"
click node_profile "https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs"
click node_summoner_model "https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/DadosInvocador.cs"
click node_profile_model "https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/DadosPerfil.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_program,node_user toneBlue
class node_client,node_summoner,node_profile,node_summoner_model,node_profile_model toneAmber
class node_riot_api toneMint
```

## Components

### Console workflow

- [Console workflow](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/Program.cs): `ColetarDados/Program.cs`

### Riot API access

- [Riot API client](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs): `ColetarDados/ColetarDados.cs`
- [Summoner lookup](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs): `ColetarDados/ColetarDados.cs`
- [Ranked profile lookup](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/ColetarDados.cs): `ColetarDados/ColetarDados.cs`
- [Summoner data](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/DadosInvocador.cs): `ColetarDados/DadosInvocador.cs`
- [Profile data](https://github.com/guilherme-ventura/coletandodados/blob/main/ColetarDados/DadosPerfil.cs): `ColetarDados/DadosPerfil.cs`

### Other components

- **User**
- **Riot Games API**

## Connections

- User → Console workflow: enters nickname
- Console workflow → Riot API client: calls lookup
- Riot API client → Summoner lookup: dispatches request
- Summoner lookup → Riot Games API: requests summoner
- Summoner lookup → Summoner data: deserializes response
- Summoner lookup → Console workflow: returns summoner
- Console workflow → Riot API client: calls profile lookup
- Riot API client → Ranked profile lookup: dispatches request
- Ranked profile lookup → Riot Games API: requests ranked entries
- Ranked profile lookup → Profile data: deserializes response
- Ranked profile lookup → Console workflow: returns profile
- Console workflow → User: displays results
