How esportbrande/api-intranet works
This is an Azure Functions API for the eSport Brande intranet. Its visible function set covers Counter-Strike and Minecraft information, events, command sending, and ping; the repository also contains CS, Minecraft, Discord, and Pterodactyl PowerShell modules. The README documents the intranet/API/Azure Functions relationship and Pterodactyl API-key setup. No source excerpts were provided, so relationships between individual handlers and modules are not asserted.
Components 13
API functions
- CS info
GetCSInfo/run.ps1 - CS TV info
GetCSTVInfo/run.ps1 - Events
GetEvents/run.ps1 - Events v2
GetEventsV2/run.ps1 - Minecraft info
GetMCInfo/run.ps1 - Send command
SendCommand/run.ps1 - Ping
ping/run.ps1
PowerShell modules
- CS module
Modules/CSModule/CSModule.psm1 - Discord module
Modules/Discord/Discord.psm1 - Minecraft module
Modules/MCModule/MCModule.psm1 - Pterodactyl module
Modules/PterodactylModule/PterodactylModule.psm1
Other components
- Intranet page
- Azure Functions
Connections 1
- Intranet page → Azure Functions: uses API
README.md